AdgProjection — The standard symbol for specifying the projection scheme
AdgProjection; AdgProjection * adg_projection_new (AdgProjectionScheme scheme); void adg_projection_set_symbol_dress (AdgProjection *projection, AdgDress dress); AdgDress adg_projection_get_symbol_dress (AdgProjection *projection); void adg_projection_set_axis_dress (AdgProjection *projection, AdgDress dress); AdgDress adg_projection_get_axis_dress (AdgProjection *projection); void adg_projection_set_scheme (AdgProjection *projection, AdgProjectionScheme scheme); AdgProjectionScheme adg_projection_get_scheme (AdgProjection *projection);
"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.
typedef struct _AdgProjection AdgProjection;
All fields are private and should not be used directly. Use its public methods instead.
AdgProjection * adg_projection_new (AdgProjectionScheme scheme);
Creates a new projection entity representing the selected scheme.
|
|
the scheme represented by this projection |
|
Returns : |
the newly created projection entity |
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 |
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 |
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 |
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 |
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 |
AdgProjectionScheme adg_projection_get_scheme (AdgProjection *projection);
Gets the scheme represented by projection.
|
|
an AdgProjection |
|
Returns : |
the scheme of projection
|
"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
AdgProjectionwas last modified by gtk-doc on Sun 21 Feb 2010 10:22:17 PM CET