PCVGBuffer.h

Classes

PCVGBuffer --

(full description)


class PCVGBuffer

Types

enum AccumMode

AMNone
AMPoints
AMLines
AMPolyline
AMPolygon

Interface

Public Members
PCVGBuffer(PixelCanvas * pc, uInt nVerts = 1024)
PCVGBuffer()
void accumPoint(Float x, Float y)
void accumLine(Float x1, Float y1, Float x2, Float y2)
void accumPolylinePoint(Float x, Float y)
void accumPolygonPoint(Float x, Float y)
void flush()
AccumMode mode() const
void setMode(AccumMode m)
void checkSpace()
virtual ~PCVGBuffer()

Description

Prerequisite

Etymology

The name of PCVGBuffer comes from ...

Synopsis

Display Class File

Motivation

Example

none available.

To Do

Member Description

enum AccumMode

PCVGBuffer(PixelCanvas * pc, uInt nVerts = 1024)

Default Constructor Required

PCVGBuffer()

User Constructor

void accumPoint(Float x, Float y)

add point

void accumLine(Float x1, Float y1, Float x2, Float y2)

add line

void accumPolylinePoint(Float x, Float y)

add point to polyline

void accumPolygonPoint(Float x, Float y)

add point to polygon

void flush()

flush the buffer

AccumMode mode() const

current mode

void setMode(AccumMode m)

change modes

void checkSpace()

check size and make more if needed

virtual ~PCVGBuffer()

Destructor