Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
VuoInputEditorIcon Class Reference

Description

Provides functions for rendering icons.

Static Public Member Functions

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.
 

Member Function Documentation

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: