Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::PathPoint Class Reference

utility to make working with path points easier More...

#include <vcf/GraphicsKit/Path.h>

List of all members.

Public Types

enum  PointType {
  ptUnknown = 0, ptMoveTo, ptLineTo, ptQuadTo,
  ptCubicTo, ptClose
}

Public Member Functions

 PathPoint ()
 PathPoint (double x, double y, PointType type)
 PathPoint (Point *pt, PointType type)
 PathPoint (const Point &pt, PointType type)
 PathPoint (const PathPoint &pt)
virtual ~PathPoint ()
PathPointoperator= (const PathPoint &pt)
bool operator== (const PathPoint &pt) const

Public Attributes

Point point_
 The x,y coordinate of the point.
PointType type_
 The path type - the type may be one of.


Detailed Description

utility to make working with path points easier


Member Enumeration Documentation

enum VCF::PathPoint::PointType
 

Enumerator:
ptUnknown 
ptMoveTo 
ptLineTo 
ptQuadTo 
ptCubicTo 
ptClose 


Constructor & Destructor Documentation

VCF::PathPoint::PathPoint  )  [inline]
 

VCF::PathPoint::PathPoint double  x,
double  y,
PointType  type
[inline]
 

VCF::PathPoint::PathPoint Point pt,
PointType  type
[inline]
 

VCF::PathPoint::PathPoint const Point pt,
PointType  type
[inline]
 

VCF::PathPoint::PathPoint const PathPoint pt  )  [inline]
 

virtual VCF::PathPoint::~PathPoint  )  [inline, virtual]
 


Member Function Documentation

PathPoint& VCF::PathPoint::operator= const PathPoint pt  )  [inline]
 

bool VCF::PathPoint::operator== const PathPoint pt  )  const [inline]
 


Member Data Documentation

Point VCF::PathPoint::point_
 

The x,y coordinate of the point.

PointType VCF::PathPoint::type_
 

The path type - the type may be one of.

  • ptMoveTo
  • ptLineTo
  • ptQuadTo
  • ptCubicTo
  • ptClose


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information