DiaShape functions for LibArt rendering

DiaShape functions for LibArt rendering — Shape renderer for the anti-alias canvas.

Synopsis




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);

Description

Details

dia_shape_art_update ()

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.

dia_shape_art_render ()

void        dia_shape_art_render            (DiaShape *shape,
                                             DiaCanvasViewItem *item,
                                             GnomeCanvasBuf *buf);

shape :
item :
buf :