pdf::Outline Class Reference

Outline of a glyph. More...

#include <Outline.hh>

List of all members.

Public Member Functions

virtual void MoveTo (int x, int y)=0
 Move to the current point to specific point.
virtual void LineTo (int x, int y)=0
 Draw a straight line from current point and move current point.
virtual void QuadTo (int cx, int cy, int tx, int ty)=0
 Draw a quadratic Beize curve from current point.
virtual void CubicTo (int c1x, int c1y, int c2x, int c2y, int tx, int ty)=0
 Draw a cubic Beize curve from current point.

Detailed Description

This interface is used for a callback for the Glyph::Decompose() function. Implement this interface and call Glyph::Decompose(), then it will call back with the MoveTo(), LineTo() functions.

All units are in font units. Transform font units to real units by calling Font::Width().

The documentation for this class was generated from the following file:

Hosted by SourceForge Logo