#include <GraphicsPath.h>
Public Types | |
enum | { MoveTo = 1, LineTo = 2, BezierControl1 = 3, BezierControl2 = 4, BezierTo = 5, TypeMask = 7, CloseFigure = 8 } |
typedef std::vector< Node > ::iterator | iterator |
typedef std::vector< Node > ::const_iterator | const_iterator |
Public Member Functions | |
GraphicsPath () | |
virtual | ~GraphicsPath () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | clear () |
bool | empty () const |
unsigned | size () const |
GraphicsPath & | offset (int dx, int dy) |
GraphicsPath & | offset (const Point &point) |
GraphicsPath & | moveTo (const Point &pt) |
GraphicsPath & | moveTo (int x, int y) |
GraphicsPath & | lineTo (const Point &pt) |
GraphicsPath & | lineTo (int x, int y) |
GraphicsPath & | curveTo (const Point &pt1, const Point &pt2, const Point &pt3) |
GraphicsPath & | curveTo (int x1, int y1, int x2, int y2, int x3, int y3) |
GraphicsPath & | closeFigure () |
GraphicsPath & | flatten () |
GraphicsPath & | widen (const Pen &pen) |
Region | toRegion () const |
Private Member Functions | |
void | addNode (int type, const Point &pt) |
Private Attributes | |
std::vector< Node > | m_nodes |
Classes | |
class | Node |
A node in a GraphicsPath. More... |
typedef std::vector<Node>::iterator Vaca::GraphicsPath::iterator |
typedef std::vector<Node>::const_iterator Vaca::GraphicsPath::const_iterator |
anonymous enum |
GraphicsPath::GraphicsPath | ( | ) |
GraphicsPath::~GraphicsPath | ( | ) | [virtual] |
GraphicsPath::iterator GraphicsPath::begin | ( | ) |
GraphicsPath::iterator GraphicsPath::end | ( | ) |
GraphicsPath::const_iterator GraphicsPath::begin | ( | ) | const |
GraphicsPath::const_iterator GraphicsPath::end | ( | ) | const |
void GraphicsPath::clear | ( | ) |
bool GraphicsPath::empty | ( | ) | const |
unsigned GraphicsPath::size | ( | ) | const |
GraphicsPath & GraphicsPath::offset | ( | int | dx, | |
int | dy | |||
) |
GraphicsPath & GraphicsPath::offset | ( | const Point & | point | ) |
GraphicsPath & GraphicsPath::moveTo | ( | const Point & | pt | ) |
GraphicsPath & GraphicsPath::moveTo | ( | int | x, | |
int | y | |||
) |
GraphicsPath & GraphicsPath::lineTo | ( | const Point & | pt | ) |
GraphicsPath & GraphicsPath::lineTo | ( | int | x, | |
int | y | |||
) |
GraphicsPath & GraphicsPath::curveTo | ( | const Point & | pt1, | |
const Point & | pt2, | |||
const Point & | pt3 | |||
) |
GraphicsPath & GraphicsPath::curveTo | ( | int | x1, | |
int | y1, | |||
int | x2, | |||
int | y2, | |||
int | x3, | |||
int | y3 | |||
) |
GraphicsPath & GraphicsPath::closeFigure | ( | ) |
GraphicsPath & GraphicsPath::flatten | ( | ) |
GraphicsPath & GraphicsPath::widen | ( | const Pen & | pen | ) |
Region GraphicsPath::toRegion | ( | ) | const |
void GraphicsPath::addNode | ( | int | type, | |
const Point & | pt | |||
) | [private] |
std::vector<Node> Vaca::GraphicsPath::m_nodes [private] |