|
ACF $AcfVersion:0$
|
#include <CDrawBuffer.h>
Public Types | |
| typedef QPixmap | BaseClass |
Public Member Functions | |
| CDrawBuffer () | |
| void | Reset () |
| Reset state of this bitmap. | |
| bool | IsCreated () const |
| Check, if bitmap was created. | |
| void | Create (const QPaintDevice &device, ibase::CSize size) |
| Create new buffer with the given size. | |
| void | CopyRectTo (const i2d::CRect &source, QPainter &drawContext, istd::CIndex2d contextPos) const |
| Copy rectangle area to specified draw context. | |
| void | CopyRectTo (const i2d::CRect &source, QPaintDevice &device, istd::CIndex2d devicePos) const |
| Copy rectangle area to specified native paint device. | |
| QPainter & | GetDrawContext () |
| Get used painter for drawing operations. | |
Protected Member Functions | |
| void | EnsureDrawContext () |
Definition at line 20 of file CDrawBuffer.h.
| typedef QPixmap iview::CDrawBuffer::BaseClass |
Definition at line 23 of file CDrawBuffer.h.
|
inline |
Definition at line 69 of file CDrawBuffer.h.
| void iview::CDrawBuffer::CopyRectTo | ( | const i2d::CRect & | source, |
| QPaintDevice & | device, | ||
| istd::CIndex2d | devicePos | ||
| ) | const |
Copy rectangle area to specified native paint device.
It is used for native-compatible template implementation in iview::TViewImpl.
| void iview::CDrawBuffer::CopyRectTo | ( | const i2d::CRect & | source, |
| QPainter & | drawContext, | ||
| istd::CIndex2d | contextPos | ||
| ) | const |
Copy rectangle area to specified draw context.
It is used for native-compatible template implementation in iview::TViewImpl.
| void iview::CDrawBuffer::Create | ( | const QPaintDevice & | device, |
| ibase::CSize | size | ||
| ) |
Create new buffer with the given size.
|
protected |
Referenced by GetDrawContext().
|
inline |
Get used painter for drawing operations.
Definition at line 74 of file CDrawBuffer.h.
References EnsureDrawContext(), and istd::TPointerBase< Type >::IsValid().
| bool iview::CDrawBuffer::IsCreated | ( | ) | const |
Check, if bitmap was created.
| void iview::CDrawBuffer::Reset | ( | ) |
Reset state of this bitmap.