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

Description

A unique ID for a window being displayed by the composition.

Typedefs

typedef int64_t VuoWindowReference
 A unique ID for a window being displayed by the composition.
 

Functions

VuoWindowReference VuoWindowReference_make (void *window)
 Creates a VuoWindowReference from a VuoWindow.
 
VuoWindowReference VuoWindowReference_valueFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoMouseButton.
 
struct json_object * VuoWindowReference_jsonFromValue (const VuoWindowReference value)
 Encodes value as a JSON object.
 
char * VuoWindowReference_summaryFromValue (const VuoWindowReference value)
 Returns a brief human-readable summary of value.
 
VuoReal VuoWindowReference_getAspectRatio (const VuoWindowReference value)
 Returns the window's current aspect ratio.
 
void VuoWindowReference_getContentSize (const VuoWindowReference value, VuoInteger *width, VuoInteger *height)
 Returns the window's current content size in pixels.
 
VuoWindowReference VuoWindowReference_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoWindowReference_stringFromValue (const VuoWindowReference value)
 Automatically generated function.
 
void VuoWindowReference_retain (VuoWindowReference value)
 Automatically generated function.
 
void VuoWindowReference_release (VuoWindowReference value)
 Automatically generated function.
 

Typedef Documentation

typedef int64_t VuoWindowReference

A unique ID for a window being displayed by the composition.

Function Documentation

VuoReal VuoWindowReference_getAspectRatio ( const VuoWindowReference  value)

Returns the window's current aspect ratio.

void VuoWindowReference_getContentSize ( const VuoWindowReference  value,
VuoInteger width,
VuoInteger height 
)

Returns the window's current content size in pixels.

On Retina displays, this function returns the physical number of pixels (device/backing resolution, not logical resolution).

json_object * VuoWindowReference_jsonFromValue ( const VuoWindowReference  value)
read

Encodes value as a JSON object.

VuoWindowReference VuoWindowReference_make ( void *  window)

Creates a VuoWindowReference from a VuoWindow.

Since the VuoWindowReference contains the memory address of the VuoWindow, it's only valid as long as the VuoWindow remains in memory.

void VuoWindowReference_release ( VuoWindowReference  value)

Automatically generated function.

void VuoWindowReference_retain ( VuoWindowReference  value)

Automatically generated function.

char* VuoWindowReference_stringFromValue ( const VuoWindowReference  value)

Automatically generated function.

char * VuoWindowReference_summaryFromValue ( const VuoWindowReference  value)

Returns a brief human-readable summary of value.

VuoWindowReference VuoWindowReference_valueFromJson ( struct json_object *  js)

Decodes the JSON object js, expected to contain a string, to create a new VuoMouseButton.

VuoWindowReference VuoWindowReference_valueFromString ( const char *  str)

Automatically generated function.