![]() |
![]() |
![]() |
adg-1 reference manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <adg-1/adg.h> struct AdgHatch; struct AdgHatchClass; AdgHatch * adg_hatch_new (AdgTrail *trail
); void adg_hatch_set_fill_dress (AdgHatch *hatch
,AdgDress dress
); AdgDress adg_hatch_get_fill_dress (AdgHatch *hatch
);
struct AdgHatch;
All fields are private and should not be used directly. Use its public methods instead.
Since 1.0
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 |
Since 1.0
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.
Since 1.0
"fill-dress"
property"fill-dress" AdgDress : Read / Write
The dress to use for filling this entity.