![]() |
![]() |
![]() |
adg-1 reference manual |
![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct AdgProjection; struct AdgProjectionClass; AdgDress adg_projection_get_axis_dress (AdgProjection *projection
); AdgProjectionScheme adg_projection_get_scheme (AdgProjection *projection
); AdgDress adg_projection_get_symbol_dress (AdgProjection *projection
); AdgProjection * adg_projection_new (AdgProjectionScheme scheme
);void adg_projection_set_axis_dress (AdgProjection *projection
,AdgDress dress
);void adg_projection_set_scheme (AdgProjection *projection
,AdgProjectionScheme scheme
);void adg_projection_set_symbol_dress (AdgProjection *projection
,AdgDress dress
);
"axis-dress" AdgDress : Read / Write "scheme" AdgProjectionScheme : Read / Write "symbol-dress" AdgDress : Read / Write
The AdgProjection is an entity representing the standard symbol of the projection scheme.
struct AdgProjection;
All fields are private and should not be used directly. Use its public methods instead.
Since 1.0
AdgDress adg_projection_get_axis_dress (AdgProjection *projection
);
Gets the line dress to be used in stroking the axis of projection
.
|
an AdgProjection |
Returns : |
the requested line dress. [transfer none] |
Since 1.0
AdgProjectionScheme adg_projection_get_scheme (AdgProjection *projection
);
Gets the scheme represented by projection
.
|
an AdgProjection |
Returns : |
the scheme of projection . [transfer none] |
Since 1.0
AdgDress adg_projection_get_symbol_dress (AdgProjection *projection
);
Gets the line dress to be used in stroking the symbol of projection
.
|
an AdgProjection |
Returns : |
the requested line dress. [transfer none] |
Since 1.0
AdgProjection * adg_projection_new (AdgProjectionScheme scheme
);
Creates a new projection entity representing the selected scheme
.
If scheme
is invalid, a projection symbol without a scheme is
returned, that is "scheme" is set to
ADG_PROJECTION_UNDEFINED, and a warning is raised.
|
the scheme represented by this projection |
Returns : |
the newly created projection entity. [transfer full] |
Since 1.0
void adg_projection_set_axis_dress (AdgProjection *projection
,AdgDress dress
);
Sets a new line dress for rendering the axis of projection
.
The new dress must be a line dress: the check is done by
calling adg_dress_are_related()
with dress
and the old
dress as arguments. Check out its documentation for
further details.
The default dress is a transparent line dress: the rendering callback will stroke the axis using the default line style.
|
an AdgProjection |
|
the new AdgDress to use |
Since 1.0
void adg_projection_set_scheme (AdgProjection *projection
,AdgProjectionScheme scheme
);
Sets a new scheme on projection
. If scheme
is different
from the old one, projection
is invalidated.
|
an AdgProjection |
|
the new projection scheme |
Since 1.0
void adg_projection_set_symbol_dress (AdgProjection *projection
,AdgDress dress
);
Sets a new line dress for rendering the symbol of projection
. The
new dress must be a line dress: the check is done by calling
adg_dress_are_related()
with dress
and the old dress as
arguments. Check out its documentation for further details.
The default dress is a transparent line dress: the rendering callback will stroke the symbol using the default color with a predefined thickness.
|
an AdgProjection |
|
the new AdgDress to use |
Since 1.0
"axis-dress"
property"axis-dress" AdgDress : Read / Write
The line dress to use for rendering the axis of the projection scheme.
Allowed values: [G_MAXINT,G_MININT]
Default value: 0
"scheme"
property"scheme" AdgProjectionScheme : Read / Write
The projection scheme to be represented.
Default value: ADG_PROJECTION_UNDEFINED
"symbol-dress"
property"symbol-dress" AdgDress : Read / Write
The line dress to use for rendering the views of the projection.
Allowed values: [G_MAXINT,G_MININT]
Default value: 0