第一印象
範例程式
截圖
與其它函式庫比較
相關應用
下載
Documentation
作品展示(Bazaar)
現狀及發展藍圖
常見問題(FAQ)
作者與授權
論壇
資助Ultimate++
搜尋本網站
語言
中文(繁體)











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.

 

 

本頁也正在english中. 你想幫忙嗎?