Implements PaintBox control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CPaintBox :public virtual IPaintBox, public CControl
{
public:
// IControl methods
void Refresh(const bool refresh_children) override;
ITextureData *Lock(const bool readonly) override;
bool DrawBegin() override;
bool DrawEnd() override;
void Clear(const Color &color) override;
void Line(const PointF &p1, const PointF &p2, const Color &color) override;
void Line(const PointF &p1, const PointF &p2, const Color &color, const Matrix &m) override;
void Line(const PointF &p1, const PointF &p2, const Color &c1, const Color &c2) override;
void Line(const PointF &p1, const PointF &p2, const Color &c1, const Color &c2, const Matrix &m) override;
void Line(const PointF &p1, const PointF &p2, const Color &color, const unsigned int bitmask) override;
void Line(const PointF &p1, const PointF &p2, const Color &color, const Matrix &m, const unsigned int bitmask) override;
void Line(const PointF &p1, const PointF &p2, const Color &c1, const Color &c2, const unsigned int bitmask) override;
void Line(const PointF &p1, const PointF &p2, const Color &c1, const Color &c2, const Matrix &m, const unsigned int bitmask) override;
void Lines(const std::vector<PointF> &points, const Color &color, const bool loop) override;
void Lines(const std::vector<PointF> &points, const Color &color, const bool loop, const Matrix &m) override;
void Lines(const std::vector<PointF> &points, const Color &color, const bool loop, const unsigned int bitmask) override;
void Lines(const std::vector<PointF> &points, const Color &color, const bool loop, const Matrix &m, const unsigned int bitmask) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &color) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &color, const Matrix &m) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &c1, const Color &c2, const Color &c3) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &c1, const Color &c2, const Color &c3, const Matrix &m) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &color, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &color, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Triangle(const PointF &p1, const PointF &p2, const PointF &p3, const Color &c1, const Color &c2, const Color &c3, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Triangle(const PointF &p1, const Point &p2, const Point &p3, const Color &c1, const Color &c2, const Color &c3, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Rectangle(const RectF &rect, const Color &color) override;
void Rectangle(const RectF &rect, const Color &color, const Matrix &m) override;
void Rectangle(const RectF &rect, const Color &c1, const Color &c2, const Color &c3, const Color &c4) override;
void Rectangle(const RectF &rect, const Color &c1, const Color &c2, const Color &c3, const Color &c4, const Matrix &m) override;
void Rectangle(const RectF &rect, const Color &color, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Rectangle(const RectF &rect, const Color &color, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Rectangle(const RectF &rect, const Color &c1, const Color &c2, const Color &c3, const Color &c4, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Rectangle(const RectF &rect, const Color &c1, const Color &c2, const Color &c3, const Color &c4, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Gradient(const RectF &rect, nitisa::Gradient &g) override;
void Gradient(const RectF &rect, nitisa::Gradient &g, const Matrix &m) override;
void Gradient(const RectF &rect, nitisa::Gradient &g, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Gradient(const RectF &rect, nitisa::Gradient &g, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Image(ITexture *image, const PointF &p, const float transparency) override;
void Image(ITexture *image, const Matrix &m, const float transparency) override;
void Image(ITexture *image, const RectF &part, const PointF &p, const float transparency) override;
void Image(ITexture *image, const RectF &part, const Matrix &m, const float transparency) override;
void Image(ITexture *image, const PointF &p, const float transparency, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Image(ITexture *image, const Matrix &m, const float transparency, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Image(ITexture *image, const RectF &part, const PointF &p, const float transparency, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Image(ITexture *image, const RectF &part, const Matrix &m, const float transparency, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Block(const RectF &block, const RectF &border, const RectF &radius, const IRenderer::BlockColors &colors) override;
void Block(const RectF &rect, const RectF &block, const RectF &border, const RectF &radius, const IRenderer::BlockColors &colors) override;
void Block(const RectF &block, const RectF &border, const RectF &radius, const IRenderer::BlockColors &colors, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Block(const RectF &rect, const RectF &block, const RectF &border, const RectF &radius, const IRenderer::BlockColors &colors, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Text(const String &text, IPlatformFont *font, const float distance, const Color &color, const PointF &p) override;
void Text(const String &text, IPlatformFont *font, const float distance, const Color &color, const Matrix &m) override;
void Text(const String &text, IPlatformFont *font, const float distance, const Color &color, const PointF &p, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Text(const String &text, IPlatformFont *font, const float distance, const Color &color, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Blur(const int radius, const IRenderer::BLUR_TYPE type) override;
void Blur(const int radius, const IRenderer::BLUR_TYPE type, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Dot(const PointF &p, const Color &color) override;
void Dot(const PointF &p, const Color &color, const Matrix &m) override;
void Circle(const PointF &p, const Color &color, const float radius) override;
void Circle(const PointF &p, const Color &color, const float radius, const Matrix &m) override;
void Circle(const PointF &p, const Color &color, const float radius, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
void Circle(const PointF &p, const Color &color, const float radius, const Matrix &m, const unsigned int bitmask_x, const unsigned int bitmask_y) override;
CPaintBox();
CPaintBox(IForm *parent);
CPaintBox(IControl *parent);
// Since 6.2.0
ITexture *getCanvas();
// Since 9.0.0
bool isOutlineInEditor() const; // Return whether the widget should be outlined in the Form Builder
// Since 9.0.0
bool setOutlineInEditor(const bool value); // Set whether the widget should be outlined in the Form Builder
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/PaintBox/PaintBox.h |