Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoSceneText.c File Reference

Description

VuoSceneText implementation.

Functions

static VuoMesh makeAnchoredQuad (VuoAnchor anchor)
 Create a new 4 point plane with positions set such that scaling will extend the mesh in the direction of anchor.
 
VuoSceneObject VuoSceneText_make (const VuoText text, const VuoFont font, const VuoAnchor anchor)
 Create a new VuoSceneObject set up with the correct font, shader, and mesh anchoring for text.
 

Function Documentation

static VuoMesh makeAnchoredQuad ( VuoAnchor  anchor)
static

Create a new 4 point plane with positions set such that scaling will extend the mesh in the direction of anchor.

Creates a quad mesh anchored to the specified position.

VuoSceneObject VuoSceneText_make ( const VuoText  text,
const VuoFont  font,
const VuoAnchor  anchor 
)

Create a new VuoSceneObject set up with the correct font, shader, and mesh anchoring for text.