#include <adg-1/adg.h> struct AdgStroke; struct AdgStrokeClass; AdgStroke * adg_stroke_new (
AdgTrail *trail); void adg_stroke_set_line_dress (
AdgDress dress); AdgDress adg_stroke_get_line_dress (
AdgStroke *stroke); void adg_stroke_set_trail (
AdgTrail *trail); AdgTrail * adg_stroke_get_trail (
All fields are private and should not be used directly. Use its public methods instead.
Creates a new stroke entity based on the
trail can be
NULL, in which case an empty stroke is created.
||the AdgTrail to stroke|
|the newly created stroke entity|
Sets a new line dress for rendering
stroke. 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
The check is done by calling
dress and the previous dress as arguments. Check out its
documentation for details on what is a related dress.
Gets the line dress to be used in rendering
|the current line dress. [transfer none]|
trail as the new trail to be stroked by