Vuo  0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions

Description

A 2D Object: visible (image), or virtual (group).

Classes

struct  VuoLayer
 A 2D Object: visible (image), or virtual (group). More...
 

Typedefs

typedef struct VuoLayer VuoLayer
 A 2D Object: visible (image), or virtual (group).
 

Functions

VuoLayer VuoLayer_valueFromJson (json_object *js)
 
json_object * VuoLayer_jsonFromValue (const VuoLayer value)
 
char * VuoLayer_summaryFromValue (const VuoLayer value)
 
VuoLayer VuoLayer_makeEmpty (void)
 Creates a new, empty scene object.
 
VuoLayer VuoLayer_make (VuoImage image, VuoPoint2d center, VuoReal rotation, VuoReal width, VuoReal alpha)
 Creates a visible (image) layer.
 
VuoLayer VuoLayer_makeRealSize (VuoImage image, VuoPoint2d center, VuoReal alpha)
 Creates a visible (image) layer.
 
VuoLayer VuoLayer_makeColor (VuoColor color, VuoPoint2d center, VuoReal rotation, VuoReal width, VuoReal height)
 Creates a visible layer with the specified color.
 
VuoLayer VuoLayer_makeLinearGradient (VuoList_VuoColor colors, VuoPoint2d start, VuoPoint2d end, VuoPoint2d center, VuoReal rotation, VuoReal width, VuoReal height)
 Creates a visible layer with a gradient.
 
VuoLayer VuoLayer_makeRadialGradient (VuoList_VuoColor colors, VuoPoint2d gradientCenter, VuoReal radius, VuoPoint2d center, VuoReal rotation, VuoReal width, VuoReal height)
 Creates a visible layer with a gradient.
 
VuoLayer VuoLayer_makeGroup (VuoList_VuoLayer childLayers, VuoTransform2d transform)
 Creates a layer with a group of child layers.
 
VuoLayer VuoLayer_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoLayer_stringFromValue (const VuoLayer value)
 Automatically generated function.
 
void VuoLayer_retain (VuoLayer value)
 Automatically generated function.
 
void VuoLayer_release (VuoLayer value)
 Automatically generated function.
 

Class Documentation

struct VuoLayer
Class Members
VuoSceneObject sceneObject A VuoLayer is secretly just a VuoSceneObject.

Typedef Documentation

typedef struct VuoLayer VuoLayer

A 2D Object: visible (image), or virtual (group).

Todo:
Ideally this should just be typedef VuoSceneObject VuoLayer, but https://b33p.net/kosada/node/6824

Function Documentation

struct json_object * VuoLayer_jsonFromValue ( const VuoLayer  value)
read
VuoLayer VuoLayer_make ( VuoImage  image,
VuoPoint2d  center,
VuoReal  rotation,
VuoReal  width,
VuoReal  alpha 
)

Creates a visible (image) layer.

VuoLayer VuoLayer_makeColor ( VuoColor  color,
VuoPoint2d  center,
VuoReal  rotation,
VuoReal  width,
VuoReal  height 
)

Creates a visible layer with the specified color.

VuoLayer VuoLayer_makeEmpty ( void  )

Creates a new, empty scene object.

VuoLayer VuoLayer_makeGroup ( VuoList_VuoLayer  childLayers,
VuoTransform2d  transform 
)

Creates a layer with a group of child layers.

VuoLayer VuoLayer_makeLinearGradient ( VuoList_VuoColor  colors,
VuoPoint2d  start,
VuoPoint2d  end,
VuoPoint2d  center,
VuoReal  rotation,
VuoReal  width,
VuoReal  height 
)

Creates a visible layer with a gradient.

VuoLayer VuoLayer_makeRadialGradient ( VuoList_VuoColor  colors,
VuoPoint2d  gradientCenter,
VuoReal  radius,
VuoPoint2d  center,
VuoReal  rotation,
VuoReal  width,
VuoReal  height 
)

Creates a visible layer with a gradient.

VuoLayer VuoLayer_makeRealSize ( VuoImage  image,
VuoPoint2d  center,
VuoReal  alpha 
)

Creates a visible (image) layer.

The layer is the exact pixel-perfect size of the image (regardless of transform), and the position is quantized so edges land on whole pixels.

void VuoLayer_release ( VuoLayer  value)

Automatically generated function.

void VuoLayer_retain ( VuoLayer  value)

Automatically generated function.

char* VuoLayer_stringFromValue ( const VuoLayer  value)

Automatically generated function.

char * VuoLayer_summaryFromValue ( const VuoLayer  value)
VuoLayer VuoLayer_valueFromJson ( json_object *  js)
VuoLayer VuoLayer_valueFromString ( const char *  str)

Automatically generated function.