AdgHatch — A hatched region
AdgHatch; AdgHatch * adg_hatch_new (AdgTrail *trail); void adg_hatch_set_fill_dress (AdgHatch *hatch, AdgDress dress); AdgDress adg_hatch_get_fill_dress (AdgHatch *hatch);
typedef struct _AdgHatch AdgHatch;
All fields are private and should not be used directly. Use its public methods instead.
AdgHatch * adg_hatch_new (AdgTrail *trail);
Creates a new hatch entity.
trail can be NULL, in which case an empty hatch is created.
|
|
the AdgTrail to hatch |
|
Returns : |
the newly created hatch entity |
void adg_hatch_set_fill_dress (AdgHatch *hatch, AdgDress dress);
Sets a new line dress for rendering hatch. The new dress
must be related to the original dress for this property:
you cannot set a dress used for line styles to a dress
managing fonts.
The check is done by calling adg_dress_are_related() with
dress and the previous dress as arguments. Check out its
documentation for details on what is a related dress.
"fill-dress" property"fill-dress" AdgDress : Read / Write
The dress to use for filling this entity.
Allowed values: [G_MAXINT,G_MININT]
Default value: 0