6#include <QtGui/QPixmap>
7#include <QtGui/QPainter>
78 Q_ASSERT(m_drawContextPtr.
IsValid());
80 return *m_drawContextPtr;
Simple rectangle with integer bounds.
Definition of simple 2D size based on integer values.
Index implementation for addressing elements in 2D-space.
Pointer wrapper providing automatic deleting pointed object during destruction.
bool IsValid() const
Check if internal pointer not NULL.
void Create(const QPaintDevice &device, ibase::CSize size)
Create new buffer with the given size.
void Reset()
Reset state of this bitmap.
bool IsCreated() const
Check, if bitmap was created.
void CopyRectTo(const i2d::CRect &source, QPaintDevice &device, istd::CIndex2d devicePos) const
Copy rectangle area to specified native paint device.
void CopyRectTo(const i2d::CRect &source, QPainter &drawContext, istd::CIndex2d contextPos) const
Copy rectangle area to specified draw context.
QPainter & GetDrawContext()
Get used painter for drawing operations.
In this library is defined 2D view concept and standard visualisation objects.