|
|
|
|
adg-1 reference manual |
|
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct AdgFillStyle; struct AdgFillStyleClass; constCpmlExtents * adg_fill_style_get_extents (AdgFillStyle *fill_style); AdgPattern * adg_fill_style_get_pattern (AdgFillStyle *fill_style);void adg_fill_style_set_extents (AdgFillStyle *fill_style,const);CpmlExtents *extentsvoid adg_fill_style_set_pattern (AdgFillStyle *fill_style,AdgPattern *pattern);
struct AdgFillStyle;
All fields are private and should not be used directly. Use its public methods instead.
Since 1.0
struct AdgFillStyleClass {
void (*set_extents) (AdgFillStyle *fill_style,
const CpmlExtents *extents);
};
constCpmlExtents * adg_fill_style_get_extents (AdgFillStyle *fill_style);
Stores a copy of the extents of fill_style in extents.
This struct specifies the maximum portion (in global space)
this fill style should be applied: it will clamped by the
entities as needed.
|
|
an AdgFillStyle |
|
Returns : |
the extents of fill_style or NULL |
Since 1.0
AdgPattern * adg_fill_style_get_pattern (AdgFillStyle *fill_style);
Gets the current pattern binded to fill_style.
|
|
an AdgFillStyle |
|
Returns : |
the current pattern |
Since 1.0
void adg_fill_style_set_extents (AdgFillStyle *fill_style,const);CpmlExtents *extents
This function is only useful in new fill style implementations.
Forcibly sets new extents on fill_style. Any fill style class
that want to make some kind of customization can override the
set_extents()
Sets new extents on fill_style. These extents are usually set
by the arrange()set_extents()
|
|
an AdgFillStyle |
|
|
the new extents |
Since 1.0
void adg_fill_style_set_pattern (AdgFillStyle *fill_style,AdgPattern *pattern);
This function is only useful in new fill implementations.
Sets a new pattern on fill_style. A new reference is added to
pattern with cairo_pattern_reference()cairo_pattern_destroy()
|
|
an AdgFillStyle |
|
|
the new pattern |
Since 1.0