| DiaCanvas2 Reference Manual: Version 0.9.0 | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
ArtSVP* dia_shape_art_update (DiaShape *shape, DiaCanvasViewItem *item, double *affine, ArtSVP *clip, int flags); void dia_shape_art_render (DiaShape *shape, DiaCanvasViewItem *item, GnomeCanvasBuf *buf); PangoLayout* dia_shape_art_new_pango_layout (void); |
ArtSVP* dia_shape_art_update (DiaShape *shape, DiaCanvasViewItem *item, double *affine, ArtSVP *clip, int flags); |
This function is called for every CanvasViewItem. This way ViewItems are notified that the need updating.
| shape : |
|
| item : |
|
| affine : | affine transformation matrix |
| clip : | clipping path for the shape (may be NULL) |
| flags : | flags... |
| Returns : | A new clip path. The new clip path is to be used for all elements that are rendered on top of shape. |
void dia_shape_art_render (DiaShape *shape, DiaCanvasViewItem *item, GnomeCanvasBuf *buf); |
| shape : | |
| item : | |
| buf : |
|
PangoLayout* dia_shape_art_new_pango_layout (void); |
Return a new PangoLayout belonging to the AA renderer.
| Returns : | A newly created PangoLayout object. |