_check_item Struct Reference


Detailed Description

This data structure describes a single item printed on a check. It is build from a description in a text file.

Definition at line 157 of file dialog-print-check.c.

Data Fields

CheckItemType type
gdouble x
gdouble y
gdouble w
gdouble h
gchar * filename
gchar * text
gchar * font
PangoAlignment align


Field Documentation

CheckItemType _check_item::type

What type of item is this?

Definition at line 159 of file dialog-print-check.c.

gdouble _check_item::y

The x/y coordinates where this item should be printed. The origin for this coordinate is determined by the print system used.

Definition at line 161 of file dialog-print-check.c.

gdouble _check_item::h

Optional. The width and height of this item. Text will be clipped to this size. Pictures will be shrunk if necessary to fit.

Definition at line 166 of file dialog-print-check.c.

gchar* _check_item::filename

The filename for picture items. Otherwise unused.

Definition at line 171 of file dialog-print-check.c.

gchar* _check_item::text

The text to be displayed (for text based items.) Otherwise unused.

Definition at line 174 of file dialog-print-check.c.

gchar* _check_item::font

The font to use for text based item. This overrides any font in the check format. Unused for non-text items.

Definition at line 177 of file dialog-print-check.c.

PangoAlignment _check_item::align

The alignment of a text based item. Only used for text based items when a width is specified.

Definition at line 181 of file dialog-print-check.c.


The documentation for this struct was generated from the following file:
Generated on Sun Sep 7 05:08:00 2008 for GnuCash by  doxygen 1.5.2