Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

DrawingDraw

 

class DrawingDraw : public Draw

DrawingDraw is a Draw able to store drawing operations of Draw and to create Drawing value that can be replayed using Draw::DrawDrawing.

 

 

Public Method List

 

void Create(int cx, int cy, bool dots = true)

void Create(Size sz, bool dots = true)

Starts a new recording session. The size of resulting Drawing is in fact only important to compute correct rescaling in Draw::DrawDrawing. dots determine DOTS flag in Draw:GetInfo(). If there are already any records stored in DrawingDraw, they are cleaned.

 


 

Size GetSize() const

Returns the size set by constructor or Create.

 


 

Drawing GetResult()

Returns actual result.

 


 

operator Drawing()

Returns GetResult().

 

 

Constructor detail

 

DrawingDraw()

Default constructor. Create has to be explicitly called on default constructed DrawingDraw.

 


 

DrawingDraw(int cx, int cy, bool dots = true)

DrawingDraw(Size sz, bool dots = true)

Calls Create to start a recording session.

 

 

Last edit by cbpporter on 01/30/2010. Do you want to contribute?. T++