| Pigment Render Reference Manual | ||||
|---|---|---|---|---|
PgmRenderShapeIFace;
PgmRenderError pgm_render_shape_set_arc (PgmRenderShapeIFace *shape,
gfloat width,
gfloat height);
PgmRenderError pgm_render_shape_get_arc (PgmRenderShapeIFace *shape,
gfloat *width,
gfloat *height);
PgmRenderShapeIFace is an interface to add different shape drawing capabilities to an object.
PgmRenderError pgm_render_shape_set_arc (PgmRenderShapeIFace *shape, gfloat width, gfloat height);
Sets the arc of stroke to (width, height). The arc is assigned to each angle of the surface.
shape : |
A PgmRenderShapeIFace object. |
width : |
The width of the arc. 0 by default. |
height : |
The height of the arc. 0 by default |
| Returns : | An error status. |
PgmRenderError pgm_render_shape_get_arc (PgmRenderShapeIFace *shape, gfloat *width, gfloat *height);
Retrieves the (width, height) arc of stroke.
shape : |
A PgmRenderShapeIFace object. |
width : |
The width of the arc to fill. |
height : |
The height of the arc to fill. |
| Returns : | An error status. |