AdgStyle

AdgStyle — The base class of all styling objects

Synopsis

                    AdgStyle;
void                adg_style_apply                     (AdgStyle *style,
                                                         AdgEntity *entity,
                                                         cairo_t *cr);

Object Hierarchy

  GObject
   +----AdgStyle
         +----AdgColorStyle
         +----AdgDimStyle
         +----AdgFillStyle
         +----AdgFontStyle
         +----AdgLineStyle
         +----AdgTableStyle

Description

This is the fundamental abstract class for styles.

Details

AdgStyle

typedef struct _AdgStyle AdgStyle;

All fields are private and should not be used directly. Use its public methods instead.


adg_style_apply ()

void                adg_style_apply                     (AdgStyle *style,
                                                         AdgEntity *entity,
                                                         cairo_t *cr);

Applies style to cr so the next rendering operations will be done accordling to this style directives. The entity parameter is used to resolve the internal dresses of style, if any.

style :

an AdgStyle derived style

entity :

the caller AdgEntity

cr :

the subject cairo context
AdgStyle was last modified by gtk-doc on Sat 24 Jul 2010 09:35:28 AM CEST
Hosted by Get Automatic Drawing Generation at SourceForge.net. Fast, secure and Free Open Source software downloads
Search on this domain