#include <bwPainter.h>
|
| bwPainter () |
|
void | drawPolygon (const bwPolygon &poly) |
|
void | drawText (const std::string &text, const bwRectanglePixel &rectangle, const TextAlignment align) const |
|
void | drawIcon (const bwIconInterface &, const bwRectanglePixel &) const |
|
void | setActiveColor (const bwColor &color) |
|
auto | getActiveColor () const -> const bwColor & |
|
auto | getVertexColor (const size_t vertex_index) const -> const bwColor & |
|
void | setContentMask (const bwRectanglePixel &value) |
|
auto | getContentMask () const -> const bwRectanglePixel & |
|
void | enableGradient (const bwGradient &gradient) |
|
auto | isGradientEnabled () const -> bool |
|
void | drawTextAndIcon (const std::string &text, const bwIconInterface *icon, const bwRectanglePixel &rectangle, const TextAlignment alignment, float dpi_fac) const |
|
void | drawRoundbox (const bwRectanglePixel &rect, unsigned int corners, const float radius) |
|
void | drawRectangle (const bwRectanglePixel &rect) |
|
void | drawRoundboxWidgetBase (const bwWidgetBaseStyle &base_style, const bwStyle &style, const bwRectanglePixel &rectangle, const bwGradient &gradient, const float radius) |
|
void | drawCheckMark (const bwRectanglePixel &rect) |
|
void | drawTriangle (const bwRectanglePixel &rect, Direction direction) |
|
void | drawLine (const bwPoint &from, const bwPoint &to) |
|
◆ DrawType
Enumerator |
---|
FILLED | |
OUTLINE | |
LINE | |
◆ bwPainter()
bWidgets::bwPainter::bwPainter |
( |
| ) |
|
◆ drawCheckMark()
◆ drawIcon()
◆ drawLine()
void bWidgets::bwPainter::drawLine |
( |
const bwPoint & |
from, |
|
|
const bwPoint & |
to |
|
) |
| |
◆ drawPolygon()
void bWidgets::bwPainter::drawPolygon |
( |
const bwPolygon & |
poly | ) |
|
◆ drawRectangle()
◆ drawRoundbox()
void bWidgets::bwPainter::drawRoundbox |
( |
const bwRectanglePixel & |
rect, |
|
|
unsigned int |
corners, |
|
|
const float |
radius |
|
) |
| |
◆ drawRoundboxWidgetBase()
◆ drawText()
◆ drawTextAndIcon()
◆ drawTriangle()
◆ enableGradient()
void bWidgets::bwPainter::enableGradient |
( |
const bwGradient & |
gradient | ) |
|
◆ getActiveColor()
auto bWidgets::bwPainter::getActiveColor |
( |
| ) |
const -> const bwColor& |
◆ getContentMask()
◆ getVertexColor()
auto bWidgets::bwPainter::getVertexColor |
( |
const size_t |
vertex_index | ) |
const -> const bwColor& |
◆ isGradientEnabled()
bool bWidgets::bwPainter::isGradientEnabled |
( |
| ) |
const -> bool |
◆ setActiveColor()
void bWidgets::bwPainter::setActiveColor |
( |
const bwColor & |
color | ) |
|
◆ setContentMask()
◆ active_drawtype
DrawType bWidgets::bwPainter::active_drawtype |
◆ s_paint_engine
std::unique_ptr< bwPaintEngine > bWidgets::bwPainter::s_paint_engine = nullptr |
|
static |
◆ use_antialiasing
bool bWidgets::bwPainter::use_antialiasing {false} |
The documentation for this class was generated from the following files: