DiaShape functions for LibArt rendering

Name

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);
PangoLayout* dia_shape_art_new_pango_layout (void);

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 :


dia_shape_art_new_pango_layout ()

PangoLayout* dia_shape_art_new_pango_layout (void);

Return a new PangoLayout belonging to the AA renderer.

Returns :

A newly created PangoLayout object.