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

Description

Information about a display screen.

Classes

struct  VuoScreen
 Information about a display screen. More...
 

Functions

VuoScreen VuoScreen_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoScreen_getJson (const VuoScreen value)
 Encodes value as a JSON object.
 
char * VuoScreen_getSummary (const VuoScreen value)
 Returns a compact string representation of value.
 
bool VuoScreen_areEqual (VuoScreen value1, VuoScreen value2)
 Returns true if the two screen specifications are identical.
 
static VuoScreen VuoScreen_makeFromName (VuoText name) __attribute__((const ))
 Returns a screen with the specified name.
 
VuoScreen VuoScreen_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoScreen_getString (const VuoScreen value)
 Automatically generated function.
 
void VuoScreen_retain (VuoScreen value)
 Automatically generated function.
 
void VuoScreen_release (VuoScreen value)
 Automatically generated function.
 

Class Documentation

struct VuoScreen
Class Members
VuoInteger dpiHorizontal
VuoInteger dpiVertical
VuoInteger height
VuoInteger id If id is non-negative, use the specified device identifier.
VuoText name If id is negative, use the first device whose name contains name (e.g., Color LCD for a built-in MacBook Pro display).
VuoPoint2d topLeft
VuoInteger width

Function Documentation

bool VuoScreen_areEqual ( VuoScreen  value1,
VuoScreen  value2 
)

Returns true if the two screen specifications are identical.

struct json_object* VuoScreen_getJson ( const VuoScreen  value)
read

Encodes value as a JSON object.

char* VuoScreen_getString ( const VuoScreen  value)

Automatically generated function.

char* VuoScreen_getSummary ( const VuoScreen  value)

Returns a compact string representation of value.

VuoScreen VuoScreen_makeFromJson ( json_object *  js)

Decodes the JSON object js to create a new value.

Example:
{
"id" : -1,
"name" : ""
}
static VuoScreen VuoScreen_makeFromName ( VuoText  name) const
inlinestatic

Returns a screen with the specified name.

VuoScreen VuoScreen_makeFromString ( const char *  str)

Automatically generated function.

void VuoScreen_release ( VuoScreen  value)

Automatically generated function.

void VuoScreen_retain ( VuoScreen  value)

Automatically generated function.