Provides functions for rendering icons.
|
static QPixmap * | renderPixmap (void(^render)(QPainter &p), int width=16, int height=16) |
| Renders the specified render block onto a pixmap of the given point size, respecting the device pixel ratio.
|
|
static QIcon * | renderIcon (void(^render)(QPainter &p), int width=16, int height=16) |
| Renders the specified render block onto an icon of the given point size, respecting the device pixel ratio.
|
|
static QIcon* VuoInputEditorIcon::renderIcon |
( |
void(^)(QPainter &p) |
render, |
|
|
int |
width = 16 , |
|
|
int |
height = 16 |
|
) |
| |
|
inlinestatic |
Renders the specified render
block onto an icon of the given point size, respecting the device pixel ratio.
static QPixmap* VuoInputEditorIcon::renderPixmap |
( |
void(^)(QPainter &p) |
render, |
|
|
int |
width = 16 , |
|
|
int |
height = 16 |
|
) |
| |
|
inlinestatic |
Renders the specified render
block onto a pixmap of the given point size, respecting the device pixel ratio.
The documentation for this class was generated from the following file: