| DiaCanvas2 Reference Manual |
|---|
DiaShape functions for LibArt rendering — Shape renderer for the anti-alias canvas.
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);
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 : |
| << DiaHandleLayer | DiaShape functions for X11 rendering >> |