BltPlot.h

Classes

BltPlot -- Plot base class for C++ using Objectify, TCL, & BLT (full description)

class BltPlot

Interface

Public Members
int Attach(char *gname, char *xname, char *yname)
int Reset()
BltPlot(Tcl_Interp* interp)
virtual ~BltPlot()
virtual int AfterConfigure(Tcl_Interp* interp)
virtual int BeforeDelete(Tcl_Interp* interp)
inline int SetPoint(int i, double x, double y)
inline int GetPoint(int i, double &x, double &y)
void Realloc(int newSize)
int showPlot(int forceDraw = FALSE)

Description

Synopsis

Plot base class for C++ using Objectify, TCL, & BLT
Used by:
Uses:

Member Description

int Attach(char *gname, char *xname, char *yname)

Attach a Blt Graph

int Reset()

Reset points to 0

BltPlot(Tcl_Interp* interp)

constructor

virtual ~BltPlot()

destructor

virtual int AfterConfigure(Tcl_Interp* interp)

called by Objectify after slots changed

virtual int BeforeDelete(Tcl_Interp* interp)

called by Objectify before object is deleted

inline int SetPoint(int i, double x, double y)

set x,y values for point i

inline int GetPoint(int i, double &x, double &y)

get x,y values for point i

void Realloc(int newSize)

resize the array, preserving old values

int showPlot(int forceDraw = FALSE)

show updated data