|
| Painter (const Painter &other)=delete |
|
Painter & | operator= (const Painter &other)=delete |
|
| Painter (Painter &&other)=delete |
|
Painter & | operator= (Painter &&other)=delete |
|
void | enabbleAntiAliasing (bool enable) noexcept |
| 是否启用抗锯齿,默认启用
|
|
void | setPenColor (const Color &color) noexcept |
|
void | setPenWidth (int width) noexcept |
|
void | setBrushColor (const Color &color) noexcept |
|
void | setFontFamily (const String &fontName) noexcept |
|
void | setFontSize (int size) noexcept |
|
void | setFontWeight (int weight) noexcept |
|
void | setFontItalic (bool italic) noexcept |
|
void | setFontUnderline (bool underline) noexcept |
|
void | setFontStrikeOut (bool strikeOut) noexcept |
|
void | clear (const Color &color) noexcept |
| 使用指定颜色清楚当前绘制器所指示的区域
|
|
Rect | rect () const noexcept |
| 当前绘制器所指示的区域
|
|
void | drawPixel (const Point &pos) noexcept |
|
void | drawLine (const Point &p1, const Point &p2) noexcept |
|
void | drawRect (const Rect &rect) noexcept |
|
void | drawPolygon (const std::vector< Point > &points) noexcept |
|
void | drawPolyline (const std::vector< Point > &points) noexcept |
|
void | drawArc (const Rect &rect, float startAngle, float range) noexcept |
|
void | drawEllipse (const Rect &rect) noexcept |
|
void | drawCircle (const Point &o, float radius) noexcept |
|
void | drawPie (const Rect &rect, float startAngle, float range) noexcept |
|
void | drawBezier (const Point &p1, const Point &c1, const Point &p2, const Point &c2) noexcept |
|
void | drawFillRect (const Rect &rect) noexcept |
|
void | drawFillPolygon (const std::vector< Point > &points) noexcept |
|
void | drawFillEllipse (const Rect &rect) noexcept |
|
void | drawFillCircle (const Point &o, float radius) noexcept |
|
void | drawFillPie (const Rect &rect, float startAngle, float range) noexcept |
|
void | drawText (const Point &pos, const String &text) noexcept |
|
void | drawText (const Rect &rect, const String &text, TextAligns aligns=TextAlign::Left|TextAlign::Top) noexcept |
|
void | drawPixmap (const Point &pos, const PixelMap &pixmap, BlendMode mode=BlendMode::S) noexcept |
|
void | drawPixmap (const Rect &rect, const PixelMap &pixmap, BlendMode mode=BlendMode::S) noexcept |
|
| Object () noexcept |
| 构造函数
|
|
virtual | ~Object () noexcept |
| 析构函数
|
|