AdgArrow

AdgArrow — Arrow rendering related stuff

Synopsis

                    AdgArrow;
void                adg_arrow_set_angle                 (AdgArrow *arrow,
                                                         gdouble angle);
gdouble             adg_arrow_get_angle                 (AdgArrow *arrow);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----AdgEntity
               +----AdgMarker
                     +----AdgArrow

Properties

  "angle"                    gdouble               : Read / Write

Description

Contains parameters on how to draw arrows, providing a way to register a custom rendering callback.

Details

AdgArrow

typedef struct _AdgArrow AdgArrow;

All fields are private and should not be used directly. Use its public methods instead.


adg_arrow_set_angle ()

void                adg_arrow_set_angle                 (AdgArrow *arrow,
                                                         gdouble angle);

Sets a new angle: angle will be the new opening angle of arrow. Changing the arrow angle will invalidate arrow.

arrow :

an AdgArrow

angle :

the new angle

adg_arrow_get_angle ()

gdouble             adg_arrow_get_angle                 (AdgArrow *arrow);

Gets the current angle of arrow.

arrow :

an AdgArrow

Returns :

the arrow angle, in radians

Property Details

The "angle" property

  "angle"                    gdouble               : Read / Write

The opening angle of the arrow.

Allowed values: [0,6.28319]

Default value: 0.523599

AdgArrow was last modified by gtk-doc on Sun 21 Feb 2010 10:22:16 PM CET
Hosted by Get Automatic Drawing Generation at SourceForge.net. Fast, secure and Free Open Source software downloads
Search on this domain