liballofw
Classes | Public Member Functions | Protected Member Functions | List of all members
allofw::GraphicalContext2D Class Referenceabstract

#include <graphics.h>

Classes

struct  State
 

Public Member Functions

virtual Path2Dpath ()=0
 
virtual Paint2Dpaint ()=0
 
virtual void destroyPath (Path2D *path)=0
 
virtual void destroyPaint (Paint2D *paint)=0
 
virtual void drawPath (Path2D *path, Paint2D *paint)=0
 
virtual void drawText (const char *text, double x, double y, Paint2D *paint)=0
 
virtual void drawLine (double x1, double y1, double x2, double y2, Paint2D *paint)=0
 
virtual void drawCircle (double x, double y, double radius, Paint2D *paint)=0
 
virtual void drawRectangle (const Rectangle2d &rect, Paint2D *paint)=0
 
virtual void drawSurface (Surface2D *surface, double x, double y, Paint2D *paint)=0
 
virtual void drawSurface (Surface2D *surface, const Rectangle2d &src, const Rectangle2d &dest, Paint2D *paint)=0
 
virtual void rotate (double radius)=0
 
virtual void translate (double tx, double ty)=0
 
virtual void scale (double tx, double ty)=0
 
virtual void concatTransform (const Matrix3d &matrix)=0
 
virtual void setTransform (const Matrix3d &matrix)=0
 
virtual Matrix3d getTransform () const =0
 
virtual void clear (const Color &color)=0
 
virtual void reset ()=0
 
virtual void flush ()=0
 
virtual State getState () const =0
 
virtual void setState (const State &state)=0
 
virtual void save ()=0
 
virtual void restore ()=0
 

Protected Member Functions

virtual ~GraphicalContext2D ()
 

Constructor & Destructor Documentation

virtual allofw::GraphicalContext2D::~GraphicalContext2D ( )
protectedvirtual

Member Function Documentation

virtual void allofw::GraphicalContext2D::clear ( const Color color)
pure virtual
virtual void allofw::GraphicalContext2D::concatTransform ( const Matrix3d matrix)
pure virtual
virtual void allofw::GraphicalContext2D::destroyPaint ( Paint2D paint)
pure virtual
virtual void allofw::GraphicalContext2D::destroyPath ( Path2D path)
pure virtual
virtual void allofw::GraphicalContext2D::drawCircle ( double  x,
double  y,
double  radius,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawLine ( double  x1,
double  y1,
double  x2,
double  y2,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawPath ( Path2D path,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawRectangle ( const Rectangle2d rect,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawSurface ( Surface2D surface,
double  x,
double  y,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawSurface ( Surface2D surface,
const Rectangle2d src,
const Rectangle2d dest,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::drawText ( const char *  text,
double  x,
double  y,
Paint2D paint 
)
pure virtual
virtual void allofw::GraphicalContext2D::flush ( )
pure virtual
virtual State allofw::GraphicalContext2D::getState ( ) const
pure virtual
virtual Matrix3d allofw::GraphicalContext2D::getTransform ( ) const
pure virtual
virtual Paint2D* allofw::GraphicalContext2D::paint ( )
pure virtual
virtual Path2D* allofw::GraphicalContext2D::path ( )
pure virtual
virtual void allofw::GraphicalContext2D::reset ( )
pure virtual
virtual void allofw::GraphicalContext2D::restore ( )
pure virtual
virtual void allofw::GraphicalContext2D::rotate ( double  radius)
pure virtual
virtual void allofw::GraphicalContext2D::save ( )
pure virtual
virtual void allofw::GraphicalContext2D::scale ( double  tx,
double  ty 
)
pure virtual
virtual void allofw::GraphicalContext2D::setState ( const State state)
pure virtual
virtual void allofw::GraphicalContext2D::setTransform ( const Matrix3d matrix)
pure virtual
virtual void allofw::GraphicalContext2D::translate ( double  tx,
double  ty 
)
pure virtual

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