.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Remind::PDF::Entry 3pm" .TH Remind::PDF::Entry 3pm 2024-04-29 "perl v5.38.2" "VERSION 04.03.07" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Remind::PDF::Entry \- Representation of one calendar entry .SH DESCRIPTION .IX Header "DESCRIPTION" \&\f(CW\*(C`Remind::PDF::Entry\*(C'\fR and its subclasses represent one calendar entry. They can be normal reminder-type entries or SPECIAL reminders. .SH "CLASS METHODS" .IX Header "CLASS METHODS" .SS Remind::PDF::Entry\->new_from_hash($hash) .IX Subsection "Remind::PDF::Entry->new_from_hash($hash)" Create and return a new \f(CW\*(C`Remind::PDF::Entry\*(C'\fR based on one reminder's worth of data from \f(CW\*(C`remind \-p\*(C'\fR. Returns a \f(CW\*(C`Remind::PDF::Entry\*(C'\fR object, or in the case of SPECIAL reminders, a subclass of \f(CW\*(C`Remind::PDF::Entry\*(C'\fR. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .ie n .SS "render($pdf, $cr, $settings, $so_far, $day, $col, $height)" .el .SS "render($pdf, \f(CW$cr\fP, \f(CW$settings\fP, \f(CW$so_far\fP, \f(CW$day\fP, \f(CW$col\fP, \f(CW$height\fP)" .IX Subsection "render($pdf, $cr, $settings, $so_far, $day, $col, $height)" Render a single entry. \f(CW$pdf\fR is the parent \f(CW\*(C`Remind::PDF\*(C'\fR object. \f(CW$cr\fR is a Cairo drawing context and \f(CW$settings\fR is the usual settings hash. \f(CW$so_far\fR is the Y\-coordinate at which to start drawing. \f(CW$day\fR is the month day and \f(CW$col\fR is the calendar column. \f(CW$height\fR is the height of the calendar box. .PP If \f(CW$height\fR is zero, then nothing should actually be drawn, but the height of the calendar entry should be computed. .PP Returns the height of the calendar entry.