qt_drawing_context Class Reference

#include <qt_drawing_context.hpp>

Inheritance diagram for qt_drawing_context:

drawing_context List of all members.

Public Member Functions

 qt_drawing_context (QPainter &p)
virtual ~qt_drawing_context (void)
virtual void draw_point (double x, double y)
virtual void draw_line (double x1, double y1, double x2, double y2)

Private Attributes

QPainter & m_p

Detailed Description

Definition at line 28 of file qt_drawing_context.hpp.


Constructor & Destructor Documentation

qt_drawing_context::qt_drawing_context QPainter &  p  ) 
 

Definition at line 23 of file qt_drawing_context.cpp.

qt_drawing_context::~qt_drawing_context void   )  [virtual]
 

Definition at line 28 of file qt_drawing_context.cpp.


Member Function Documentation

void qt_drawing_context::draw_line double  x1,
double  y1,
double  x2,
double  y2
[virtual]
 

Implements drawing_context.

Definition at line 37 of file qt_drawing_context.cpp.

References m_p.

void qt_drawing_context::draw_point double  x,
double  y
[virtual]
 

Implements drawing_context.

Definition at line 32 of file qt_drawing_context.cpp.

References m_p.


Member Data Documentation

QPainter& qt_drawing_context::m_p [private]
 

Definition at line 31 of file qt_drawing_context.hpp.

Referenced by draw_line(), and draw_point().


The documentation for this class was generated from the following files:
Generated on Fri May 19 19:30:30 2006 for geometria by  doxygen 1.4.6-NO