ionflux.org | Impressum

Ionflux::Tools::Cairo::CairoContext Class Reference
[Cairo]

Cairo context. More...

#include <CairoContext.hpp>

Inheritance diagram for Ionflux::Tools::Cairo::CairoContext:

Inheritance graph
[legend]
Collaboration diagram for Ionflux::Tools::Cairo::CairoContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CairoContext ()
 Constructor.
 CairoContext (const CairoContext &initCairoContext)
 Constructor.
 CairoContext (cairo_t *initCairoContext)
 Constructor.
 CairoContext (cairo_surface_t *initSurface)
 Constructor.
 CairoContext (Surface &initSurface)
 Constructor.
virtual ~CairoContext ()
 Destructor.
virtual void reference ()
 Reference.
virtual void destroy ()
 Destroy.
virtual void save ()
 Save.
virtual void restore ()
 Restore.
virtual void setOperator (cairo_operator_t op)
 Set operator.
virtual void setSource (cairo_pattern_t *source)
 Set source.
virtual void setSource (const Pattern &source)
 Set source.
virtual void setSourceRgb (double red, double green, double blue)
 Set source rgb.
virtual void setSourceRgba (double red, double green, double blue, double alpha)
 Set source rgba.
virtual void setSourceColor (const Ionflux::Tools::Color &color)
 Set source color.
virtual void setSourceSurface (cairo_surface_t *surface, double x, double y)
 Set source surface.
virtual void setSourceSurface (Surface &surface, double x, double y)
 Set source surface.
virtual void setTolerance (double tolerance)
 Set tolerance.
virtual void setFillRule (cairo_fill_rule_t fill_rule)
 Set fill rule.
virtual void setLineWidth (double width)
 Set line width.
virtual void setLineCap (cairo_line_cap_t line_cap)
 Set line cap.
virtual void setLineJoin (cairo_line_join_t line_join)
 Set line join.
virtual void setDash (double *dashes, int ndash, double offset)
 Set dash.
virtual void setMiterLimit (double limit)
 Set miter limit.
virtual void translate (double tx, double ty)
 Translate.
virtual void scale (double sx, double sy)
 Scale.
virtual void rotate (double angle)
 Rotate.
virtual void transform (const cairo_matrix_t *matrix)
 Transform.
virtual void transform (const Matrix &matrix)
 Transform.
virtual void setMatrix (const cairo_matrix_t *matrix)
 Set matrix.
virtual void setMatrix (const Matrix &matrix)
 Set matrix.
virtual void identityMatrix ()
 Identity matrix.
virtual void userToDevice (double *x, double *y)
 User to device.
virtual void userToDeviceDistance (double *dx, double *dy)
 User to device distance.
virtual void deviceToUser (double *x, double *y)
 Device to user.
virtual void deviceToUserDistance (double *dx, double *dy)
 Device to user distance.
virtual void newPath ()
 New path.
virtual void moveTo (double x, double y)
 Move to.
virtual void lineTo (double x, double y)
 Line to.
virtual void curveTo (double x1, double y1, double x2, double y2, double x3, double y3)
 Curve to.
virtual void arc (double xc, double yc, double radius, double angle1, double angle2)
 Arc.
virtual void arcNegative (double xc, double yc, double radius, double angle1, double angle2)
 Arc negative.
virtual void relMoveTo (double dx, double dy)
 Rel move to.
virtual void relLineTo (double dx, double dy)
 Rel line to.
virtual void relCurveTo (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)
 Rel curve to.
virtual void rectangle (double x, double y, double width, double height)
 Rectangle.
virtual void closePath ()
 Close path.
virtual void paint ()
 Paint.
virtual void paintWithAlpha (double alpha)
 Paint with alpha.
virtual void mask (cairo_pattern_t *pattern)
 Mask.
virtual void mask (const Pattern &pattern)
 Mask.
virtual void maskSurface (cairo_surface_t *surface, double surface_x, double surface_y)
 Mask surface.
virtual void maskSurface (Surface &surface, double surface_x, double surface_y)
 Mask surface.
virtual void stroke ()
 Stroke.
virtual void strokePreserve ()
 Stroke preserve.
virtual void fill ()
 Fill.
virtual void fillPreserve ()
 Fill preserve.
virtual void copyPage ()
 Copy page.
virtual void showPage ()
 Show page.
virtual cairo_bool_t inStroke (double x, double y)
 In stroke.
virtual cairo_bool_t inFill (double x, double y)
 In fill.
virtual void strokeExtents (double *x1, double *y1, double *x2, double *y2)
 Stroke extents.
virtual void fillExtents (double *x1, double *y1, double *x2, double *y2)
 Fill extents.
virtual void resetClip ()
 Reset clip.
virtual void clip ()
 Clip.
virtual void clipPreserve ()
 Clip preserve.
virtual void selectFontFace (const std::string &family, cairo_font_slant_t slant, cairo_font_weight_t weight)
 Select font face.
virtual void setFontSize (double size)
 Set font size.
virtual void setFontMatrix (const cairo_matrix_t *matrix)
 Set font matrix.
virtual void setFontMatrix (const Matrix &matrix)
 Set font matrix.
virtual void getFontMatrix (cairo_matrix_t *matrix)
 Get font matrix.
virtual void getFontMatrix (Matrix &matrix)
 Get font matrix.
virtual void showText (const std::string &utf8)
 Show text.
virtual void showGlyphs (cairo_glyph_t *glyphs, int num_glyphs)
 Show glyphs.
virtual cairo_font_face_t * getFontFace ()
 Get font face.
virtual void fontExtents (cairo_font_extents_t *extents)
 Font extents.
virtual void setFontFace (cairo_font_face_t *font_face)
 Set font face.
virtual void textExtents (const std::string &utf8, cairo_text_extents_t *extents)
 Text extents.
virtual void glyphExtents (cairo_glyph_t *glyphs, int num_glyphs, cairo_text_extents_t *extents)
 Glyph extents.
virtual void textPath (const std::string &utf8)
 Text path.
virtual void glyphPath (cairo_glyph_t *glyphs, int num_glyphs)
 Glyph path.
virtual cairo_operator_t getOperator ()
 Get operator.
virtual cairo_pattern_t * getSource ()
 Get source.
virtual double getTolerance ()
 Get tolerance.
virtual void getCurrentPoint (double *x, double *y)
 Get current point.
virtual cairo_fill_rule_t getFillRule ()
 Get fill rule.
virtual double getLineWidth ()
 Get line width.
virtual cairo_line_cap_t getLineCap ()
 Get line cap.
virtual cairo_line_join_t getLineJoin ()
 Get line join.
virtual double getMiterLimit ()
 Get miter limit.
virtual void getMatrix (cairo_matrix_t *matrix)
 Get matrix.
virtual void getMatrix (Matrix &matrix)
 Get matrix.
virtual cairo_surface_t * getTarget ()
 Get target.
virtual void getTarget (Surface &surface)
 Get target.
virtual cairo_path_t * copyPath ()
 Copy path.
virtual void copyPath (Path &target)
 Copy path.
virtual cairo_path_t * copyPathFlat ()
 Copy path flat.
virtual void copyPathFlat (Path &target)
 Copy path flat.
virtual void appendPath (cairo_path_t *path)
 Append path.
virtual void appendPath (Path &path)
 Append path.
virtual cairo_status_t status ()
 Status.
virtual std::string statusToString (cairo_status_t status)
 Status to string.
virtual CairoContextoperator= (const CairoContext &newCairoContext)
 Assignment operator.
virtual CairoContextoperator= (cairo_t *newCairoContext)
 Assignment operator.
virtual void setCairoContext (cairo_t *newCairoContext)
 Set cairo context.
virtual cairo_t * getCairoContext () const
 Get cairo context.

Protected Attributes

cairo_t * cairoContext
 Cairo context.

Detailed Description

Cairo context.

A wrapper for the Cairo vector graphics API (see http://www.cairographics.org/).

Note:
Not all features of Cairo are supported yet by this wrapper.


Constructor & Destructor Documentation

Ionflux::Tools::Cairo::CairoContext::CairoContext  ) 
 

Constructor.

Construct new CairoContext object.

Ionflux::Tools::Cairo::CairoContext::CairoContext const CairoContext initCairoContext  ) 
 

Constructor.

Construct new CairoContext object.

Parameters:
initCairoContext Cairo context.

Ionflux::Tools::Cairo::CairoContext::CairoContext cairo_t *  initCairoContext  ) 
 

Constructor.

Construct new CairoContext object.

Parameters:
initCairoContext Cairo context.

Ionflux::Tools::Cairo::CairoContext::CairoContext cairo_surface_t *  initSurface  ) 
 

Constructor.

Construct new CairoContext object.

Parameters:
initSurface Cairo surface.

Ionflux::Tools::Cairo::CairoContext::CairoContext Surface initSurface  ) 
 

Constructor.

Construct new CairoContext object.

Parameters:
initSurface Cairo surface.

Ionflux::Tools::Cairo::CairoContext::~CairoContext  )  [virtual]
 

Destructor.

Destruct CairoContext object.


Member Function Documentation

void Ionflux::Tools::Cairo::CairoContext::appendPath Path path  )  [virtual]
 

Append path.

Append path

Parameters:
path Path.

void Ionflux::Tools::Cairo::CairoContext::appendPath cairo_path_t *  path  )  [virtual]
 

Append path.

Append path

Parameters:
path Path.

void Ionflux::Tools::Cairo::CairoContext::arc double  xc,
double  yc,
double  radius,
double  angle1,
double  angle2
[virtual]
 

Arc.

Arc

Parameters:
xc Xc.
yc Yc.
radius Radius.
angle1 Angle1.
angle2 Angle2.

void Ionflux::Tools::Cairo::CairoContext::arcNegative double  xc,
double  yc,
double  radius,
double  angle1,
double  angle2
[virtual]
 

Arc negative.

Arc negative

Parameters:
xc Xc.
yc Yc.
radius Radius.
angle1 Angle1.
angle2 Angle2.

void Ionflux::Tools::Cairo::CairoContext::clip  )  [virtual]
 

Clip.

Clip

void Ionflux::Tools::Cairo::CairoContext::clipPreserve  )  [virtual]
 

Clip preserve.

Clip preserve

void Ionflux::Tools::Cairo::CairoContext::closePath  )  [virtual]
 

Close path.

Close path

void Ionflux::Tools::Cairo::CairoContext::copyPage  )  [virtual]
 

Copy page.

Copy page

void Ionflux::Tools::Cairo::CairoContext::copyPath Path target  )  [virtual]
 

Copy path.

Copy path

Parameters:
target Where to store the path.

cairo_path_t * Ionflux::Tools::Cairo::CairoContext::copyPath  )  [virtual]
 

Copy path.

Copy path

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::copyPathFlat Path target  )  [virtual]
 

Copy path flat.

Copy path flat

Parameters:
target Where to store the path.

cairo_path_t * Ionflux::Tools::Cairo::CairoContext::copyPathFlat  )  [virtual]
 

Copy path flat.

Copy path flat

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::curveTo double  x1,
double  y1,
double  x2,
double  y2,
double  x3,
double  y3
[virtual]
 

Curve to.

Curve to

Parameters:
x1 X1.
y1 Y1.
x2 X2.
y2 Y2.
x3 X3.
y3 Y3.

void Ionflux::Tools::Cairo::CairoContext::destroy  )  [virtual]
 

Destroy.

Destroy

void Ionflux::Tools::Cairo::CairoContext::deviceToUser double *  x,
double *  y
[virtual]
 

Device to user.

Device to user

Parameters:
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::deviceToUserDistance double *  dx,
double *  dy
[virtual]
 

Device to user distance.

Device to user distance

Parameters:
dx Dx.
dy Dy.

void Ionflux::Tools::Cairo::CairoContext::fill  )  [virtual]
 

Fill.

Fill

void Ionflux::Tools::Cairo::CairoContext::fillExtents double *  x1,
double *  y1,
double *  x2,
double *  y2
[virtual]
 

Fill extents.

Fill extents

Parameters:
x1 X1.
y1 Y1.
x2 X2.
y2 Y2.

void Ionflux::Tools::Cairo::CairoContext::fillPreserve  )  [virtual]
 

Fill preserve.

Fill preserve

void Ionflux::Tools::Cairo::CairoContext::fontExtents cairo_font_extents_t *  extents  )  [virtual]
 

Font extents.

Font extents

Parameters:
extents Extents.

cairo_t * Ionflux::Tools::Cairo::CairoContext::getCairoContext  )  const [virtual]
 

Get cairo context.

Returns:
Current value of cairo context.

void Ionflux::Tools::Cairo::CairoContext::getCurrentPoint double *  x,
double *  y
[virtual]
 

Get current point.

Get current point

Parameters:
x X.
y Y.

cairo_fill_rule_t Ionflux::Tools::Cairo::CairoContext::getFillRule  )  [virtual]
 

Get fill rule.

Get fill rule

Returns:
.

cairo_font_face_t * Ionflux::Tools::Cairo::CairoContext::getFontFace  )  [virtual]
 

Get font face.

Get font face

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::getFontMatrix Matrix matrix  )  [virtual]
 

Get font matrix.

Get font matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::getFontMatrix cairo_matrix_t *  matrix  )  [virtual]
 

Get font matrix.

Get font matrix

Parameters:
matrix Matrix.

cairo_line_cap_t Ionflux::Tools::Cairo::CairoContext::getLineCap  )  [virtual]
 

Get line cap.

Get line cap

Returns:
.

cairo_line_join_t Ionflux::Tools::Cairo::CairoContext::getLineJoin  )  [virtual]
 

Get line join.

Get line join

Returns:
.

double Ionflux::Tools::Cairo::CairoContext::getLineWidth  )  [virtual]
 

Get line width.

Get line width

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::getMatrix Matrix matrix  )  [virtual]
 

Get matrix.

Get matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::getMatrix cairo_matrix_t *  matrix  )  [virtual]
 

Get matrix.

Get matrix

Parameters:
matrix Matrix.

double Ionflux::Tools::Cairo::CairoContext::getMiterLimit  )  [virtual]
 

Get miter limit.

Get miter limit

Returns:
.

cairo_operator_t Ionflux::Tools::Cairo::CairoContext::getOperator  )  [virtual]
 

Get operator.

Get operator

Returns:
.

cairo_pattern_t * Ionflux::Tools::Cairo::CairoContext::getSource  )  [virtual]
 

Get source.

Get source

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::getTarget Surface surface  )  [virtual]
 

Get target.

Get target

Parameters:
surface Where to store the surface.

cairo_surface_t * Ionflux::Tools::Cairo::CairoContext::getTarget  )  [virtual]
 

Get target.

Get target

Returns:
.

double Ionflux::Tools::Cairo::CairoContext::getTolerance  )  [virtual]
 

Get tolerance.

Get tolerance

Returns:
.

void Ionflux::Tools::Cairo::CairoContext::glyphExtents cairo_glyph_t *  glyphs,
int  num_glyphs,
cairo_text_extents_t *  extents
[virtual]
 

Glyph extents.

Glyph extents

Parameters:
glyphs Glyphs.
num_glyphs Num_glyphs.
extents Extents.

void Ionflux::Tools::Cairo::CairoContext::glyphPath cairo_glyph_t *  glyphs,
int  num_glyphs
[virtual]
 

Glyph path.

Glyph path

Parameters:
glyphs Glyphs.
num_glyphs Num_glyphs.

void Ionflux::Tools::Cairo::CairoContext::identityMatrix  )  [virtual]
 

Identity matrix.

Identity matrix

cairo_bool_t Ionflux::Tools::Cairo::CairoContext::inFill double  x,
double  y
[virtual]
 

In fill.

In fill

Parameters:
x X.
y Y.
Returns:
.

cairo_bool_t Ionflux::Tools::Cairo::CairoContext::inStroke double  x,
double  y
[virtual]
 

In stroke.

In stroke

Parameters:
x X.
y Y.
Returns:
.

void Ionflux::Tools::Cairo::CairoContext::lineTo double  x,
double  y
[virtual]
 

Line to.

Line to

Parameters:
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::mask const Pattern pattern  )  [virtual]
 

Mask.

Mask

Parameters:
pattern Pattern.

void Ionflux::Tools::Cairo::CairoContext::mask cairo_pattern_t *  pattern  )  [virtual]
 

Mask.

Mask

Parameters:
pattern Pattern.

void Ionflux::Tools::Cairo::CairoContext::maskSurface Surface surface,
double  surface_x,
double  surface_y
[virtual]
 

Mask surface.

Mask surface

Parameters:
surface Surface.
surface_x Surface_x.
surface_y Surface_y.

void Ionflux::Tools::Cairo::CairoContext::maskSurface cairo_surface_t *  surface,
double  surface_x,
double  surface_y
[virtual]
 

Mask surface.

Mask surface

Parameters:
surface Surface.
surface_x Surface_x.
surface_y Surface_y.

void Ionflux::Tools::Cairo::CairoContext::moveTo double  x,
double  y
[virtual]
 

Move to.

Move to

Parameters:
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::newPath  )  [virtual]
 

New path.

New path

CairoContext & Ionflux::Tools::Cairo::CairoContext::operator= cairo_t *  newCairoContext  )  [virtual]
 

Assignment operator.

Assign a cairo context to this Cairo object.

Parameters:
newCairoContext Cairo context.
Returns:
The object itself.

Reimplemented in Ionflux::Tools::CairoCanvas.

CairoContext & Ionflux::Tools::Cairo::CairoContext::operator= const CairoContext newCairoContext  )  [virtual]
 

Assignment operator.

Assign one cairo object to another Cairo object.

Parameters:
newCairoContext Cairo context.
Returns:
The object itself.

Reimplemented in Ionflux::Tools::CairoCanvas.

void Ionflux::Tools::Cairo::CairoContext::paint  )  [virtual]
 

Paint.

Paint

void Ionflux::Tools::Cairo::CairoContext::paintWithAlpha double  alpha  )  [virtual]
 

Paint with alpha.

Paint with alpha

Parameters:
alpha Alpha.

void Ionflux::Tools::Cairo::CairoContext::rectangle double  x,
double  y,
double  width,
double  height
[virtual]
 

Rectangle.

Rectangle

Parameters:
x X.
y Y.
width Width.
height Height.

void Ionflux::Tools::Cairo::CairoContext::reference  )  [virtual]
 

Reference.

Reference

void Ionflux::Tools::Cairo::CairoContext::relCurveTo double  dx1,
double  dy1,
double  dx2,
double  dy2,
double  dx3,
double  dy3
[virtual]
 

Rel curve to.

Rel curve to

Parameters:
dx1 Dx1.
dy1 Dy1.
dx2 Dx2.
dy2 Dy2.
dx3 Dx3.
dy3 Dy3.

void Ionflux::Tools::Cairo::CairoContext::relLineTo double  dx,
double  dy
[virtual]
 

Rel line to.

Rel line to

Parameters:
dx Dx.
dy Dy.

void Ionflux::Tools::Cairo::CairoContext::relMoveTo double  dx,
double  dy
[virtual]
 

Rel move to.

Rel move to

Parameters:
dx Dx.
dy Dy.

void Ionflux::Tools::Cairo::CairoContext::resetClip  )  [virtual]
 

Reset clip.

Reset clip

void Ionflux::Tools::Cairo::CairoContext::restore  )  [virtual]
 

Restore.

Restore

void Ionflux::Tools::Cairo::CairoContext::rotate double  angle  )  [virtual]
 

Rotate.

Rotate

Parameters:
angle Angle.

void Ionflux::Tools::Cairo::CairoContext::save  )  [virtual]
 

Save.

Save

void Ionflux::Tools::Cairo::CairoContext::scale double  sx,
double  sy
[virtual]
 

Scale.

Scale

Parameters:
sx Sx.
sy Sy.

void Ionflux::Tools::Cairo::CairoContext::selectFontFace const std::string &  family,
cairo_font_slant_t  slant,
cairo_font_weight_t  weight
[virtual]
 

Select font face.

Select font face

Parameters:
family Family.
slant Slant.
weight Weight.

void Ionflux::Tools::Cairo::CairoContext::setCairoContext cairo_t *  newCairoContext  )  [virtual]
 

Set cairo context.

Set new value of cairo context.

Parameters:
newCairoContext New value of cairo context.

void Ionflux::Tools::Cairo::CairoContext::setDash double *  dashes,
int  ndash,
double  offset
[virtual]
 

Set dash.

Set dash

Parameters:
dashes Dashes.
ndash Ndash.
offset Offset.

void Ionflux::Tools::Cairo::CairoContext::setFillRule cairo_fill_rule_t  fill_rule  )  [virtual]
 

Set fill rule.

Set fill rule

Parameters:
fill_rule Fill_rule.

void Ionflux::Tools::Cairo::CairoContext::setFontFace cairo_font_face_t *  font_face  )  [virtual]
 

Set font face.

Set font face

Parameters:
font_face Font_face.

void Ionflux::Tools::Cairo::CairoContext::setFontMatrix const Matrix matrix  )  [virtual]
 

Set font matrix.

Set font matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::setFontMatrix const cairo_matrix_t *  matrix  )  [virtual]
 

Set font matrix.

Set font matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::setFontSize double  size  )  [virtual]
 

Set font size.

Set font size

Parameters:
size Size.

void Ionflux::Tools::Cairo::CairoContext::setLineCap cairo_line_cap_t  line_cap  )  [virtual]
 

Set line cap.

Set line cap

Parameters:
line_cap Line_cap.

void Ionflux::Tools::Cairo::CairoContext::setLineJoin cairo_line_join_t  line_join  )  [virtual]
 

Set line join.

Set line join

Parameters:
line_join Line_join.

void Ionflux::Tools::Cairo::CairoContext::setLineWidth double  width  )  [virtual]
 

Set line width.

Set line width

Parameters:
width Width.

void Ionflux::Tools::Cairo::CairoContext::setMatrix const Matrix matrix  )  [virtual]
 

Set matrix.

Set matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::setMatrix const cairo_matrix_t *  matrix  )  [virtual]
 

Set matrix.

Set matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::setMiterLimit double  limit  )  [virtual]
 

Set miter limit.

Set miter limit

Parameters:
limit Limit.

void Ionflux::Tools::Cairo::CairoContext::setOperator cairo_operator_t  op  )  [virtual]
 

Set operator.

Set operator

Parameters:
op Op.

void Ionflux::Tools::Cairo::CairoContext::setSource const Pattern source  )  [virtual]
 

Set source.

Set source

Parameters:
source Source.

void Ionflux::Tools::Cairo::CairoContext::setSource cairo_pattern_t *  source  )  [virtual]
 

Set source.

Set source

Parameters:
source Source.

void Ionflux::Tools::Cairo::CairoContext::setSourceColor const Ionflux::Tools::Color color  )  [virtual]
 

Set source color.

Set source Color

Parameters:
color Color.

void Ionflux::Tools::Cairo::CairoContext::setSourceRgb double  red,
double  green,
double  blue
[virtual]
 

Set source rgb.

Set source rgb

Parameters:
red Red.
green Green.
blue Blue.

void Ionflux::Tools::Cairo::CairoContext::setSourceRgba double  red,
double  green,
double  blue,
double  alpha
[virtual]
 

Set source rgba.

Set source rgba

Parameters:
red Red.
green Green.
blue Blue.
alpha Alpha.

void Ionflux::Tools::Cairo::CairoContext::setSourceSurface Surface surface,
double  x,
double  y
[virtual]
 

Set source surface.

Set source surface

Parameters:
surface Surface.
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::setSourceSurface cairo_surface_t *  surface,
double  x,
double  y
[virtual]
 

Set source surface.

Set source surface

Parameters:
surface Surface.
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::setTolerance double  tolerance  )  [virtual]
 

Set tolerance.

Set tolerance

Parameters:
tolerance Tolerance.

void Ionflux::Tools::Cairo::CairoContext::showGlyphs cairo_glyph_t *  glyphs,
int  num_glyphs
[virtual]
 

Show glyphs.

Show glyphs

Parameters:
glyphs Glyphs.
num_glyphs Num_glyphs.

void Ionflux::Tools::Cairo::CairoContext::showPage  )  [virtual]
 

Show page.

Show page

void Ionflux::Tools::Cairo::CairoContext::showText const std::string &  utf8  )  [virtual]
 

Show text.

Show text

Parameters:
utf8 Utf8.

cairo_status_t Ionflux::Tools::Cairo::CairoContext::status  )  [virtual]
 

Status.

Status

Returns:
.

std::string Ionflux::Tools::Cairo::CairoContext::statusToString cairo_status_t  status  )  [virtual]
 

Status to string.

Status to string

Parameters:
status Status.
Returns:
.

void Ionflux::Tools::Cairo::CairoContext::stroke  )  [virtual]
 

Stroke.

Stroke

void Ionflux::Tools::Cairo::CairoContext::strokeExtents double *  x1,
double *  y1,
double *  x2,
double *  y2
[virtual]
 

Stroke extents.

Stroke extents

Parameters:
x1 X1.
y1 Y1.
x2 X2.
y2 Y2.

void Ionflux::Tools::Cairo::CairoContext::strokePreserve  )  [virtual]
 

Stroke preserve.

Stroke preserve

void Ionflux::Tools::Cairo::CairoContext::textExtents const std::string &  utf8,
cairo_text_extents_t *  extents
[virtual]
 

Text extents.

Text extents

Parameters:
utf8 Utf8.
extents Extents.

void Ionflux::Tools::Cairo::CairoContext::textPath const std::string &  utf8  )  [virtual]
 

Text path.

Text path

Parameters:
utf8 Utf8.

void Ionflux::Tools::Cairo::CairoContext::transform const Matrix matrix  )  [virtual]
 

Transform.

Transform

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::transform const cairo_matrix_t *  matrix  )  [virtual]
 

Transform.

Transform

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::CairoContext::translate double  tx,
double  ty
[virtual]
 

Translate.

Translate

Parameters:
tx Tx.
ty Ty.

void Ionflux::Tools::Cairo::CairoContext::userToDevice double *  x,
double *  y
[virtual]
 

User to device.

User to device

Parameters:
x X.
y Y.

void Ionflux::Tools::Cairo::CairoContext::userToDeviceDistance double *  dx,
double *  dy
[virtual]
 

User to device distance.

User to device distance

Parameters:
dx Dx.
dy Dy.


Member Data Documentation

cairo_t* Ionflux::Tools::Cairo::CairoContext::cairoContext [protected]
 

Cairo context.


The documentation for this class was generated from the following files:
Generated on Tue Mar 14 21:12:12 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6