Fawkes API
Fawkes Development Version
|
Graphviz Cairo render plugin instructor. More...
Public Member Functions | |
virtual | ~SkillGuiCairoRenderInstructor () |
Empty virtual destructor. More... | |
virtual Cairo::RefPtr< Cairo::Context > | get_cairo ()=0 |
Get Cairo context. More... | |
virtual bool | scale_override ()=0 |
Check if scale override is enabled. More... | |
virtual void | get_dimensions (double &width, double &height)=0 |
Get available space dimensions. More... | |
virtual double | get_scale ()=0 |
Get scale factor. More... | |
virtual void | set_scale (double scale)=0 |
Set scale. More... | |
virtual void | get_translation (double &tx, double &ty)=0 |
Get translation values. More... | |
virtual void | set_translation (double tx, double ty)=0 |
Set translation. More... | |
virtual void | set_bb (double bbw, double bbh)=0 |
Set the bounding box. More... | |
virtual void | set_pad (double pad_x, double pad_y)=0 |
Set padding. More... | |
virtual void | get_pad (double &pad_x, double &pad_y)=0 |
Get padding. More... | |
Graphviz Cairo render plugin instructor.
Definition at line 29 of file gvplugin_skillgui_cairo.h.
|
inlinevirtual |
Empty virtual destructor.
Definition at line 33 of file gvplugin_skillgui_cairo.h.
References get_cairo(), get_dimensions(), get_pad(), get_scale(), get_translation(), scale_override(), set_bb(), set_pad(), set_scale(), and set_translation().
|
pure virtual |
Get Cairo context.
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Get available space dimensions.
width | upon return contains the available width |
height | upon return contains the available height |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Get padding.
If scale_override() returns true, shall return the requested padding values.
pad_x | upon return contains padding in x |
pad_y | upon return contains padding in y |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Get scale factor.
If scale_override() returns true, shall return the requested scale value.
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Get translation values.
If scale_override() returns true, shall return the requested translation values.
tx | upon return contains translation in x |
ty | upon return contains translation in y |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Check if scale override is enabled.
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Set the bounding box.
Set by the plugin before calling any other function.
bbw | bounding box width |
bbh | bounding box height |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Set padding.
Set by the plugin immediately after set_bb() is called.
pad_x | padding in x |
pad_y | padding in y |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Set scale.
Set the scale value that the plugin determined.
scale | scale determined by plugin |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().
|
pure virtual |
Set translation.
Set the translation values the plugin determined.
tx | translation in x |
ty | translation in y |
Implemented in SkillGuiBatchRenderer, and SkillGuiGraphDrawingArea.
Referenced by ~SkillGuiCairoRenderInstructor().