r3iafont

r3iafont

Class

real/intact/r3iafont.h

Library

r3ia

Description:

Font interactor. Allows any number of font generators to be plugged in.

See Also

real/intact/r3ia2p.h

Super Class

r3Ia2p

R3CLID_IA2P

JavaScript

r3Iafont

Class Identifier

R3CLID_IAFONT - 675

Methods

REGISTERFONT,

Attributes

Text, FontClid, FontName, Render, Thickness,

R3CIAFONTM_REGISTERFONT

Method

REGISTERFONT

Identifier

R3CIAFONTM_REGISTERFONT

Return

R3BOOL, true of registration succeeded

Param 1:

R3CLID, class id of the font to be registered

Param 3:

char*, name of the font

JavaScript

rc = obj.REGISTERFONT(p1, p3);

Description

Register new font for the font interactor

Text

Attribute

Text

Identifier

R3IAFONTA_Text

JavaScript type

String

C type

char*

Description

text to be created

Syntax


jsobj.SetText(value);
value = jsobj.GetText();


char* value = ...;
R3SetAttrs(r3obj, R3IAFONTA_Text, value, R3TAG_END);
char* value;
R3GetAttrs(r3obj, R3IAFONTA_Text, &value, R3TAG_END);

FontClid

Attribute

FontClid

Identifier

R3IAFONTA_FontClid

JavaScript type

Integer

C type

R3CLID

Description

font name for the text to be created

Syntax


jsobj.SetFontClid(value);
value = jsobj.GetFontClid();


R3CLID value = ...;
R3SetAttrs(r3obj, R3IAFONTA_FontClid, value, R3TAG_END);
R3CLID value;
R3GetAttrs(r3obj, R3IAFONTA_FontClid, &value, R3TAG_END);

FontName

Attribute

FontName

Identifier

R3IAFONTA_FontName

JavaScript type

String

C type

char*

Description

string fully describing the font

Syntax


jsobj.SetFontName(value);
value = jsobj.GetFontName();


char* value = ...;
R3SetAttrs(r3obj, R3IAFONTA_FontName, value, R3TAG_END);
char* value;
R3GetAttrs(r3obj, R3IAFONTA_FontName, &value, R3TAG_END);

Render

Attribute

Render

Identifier

R3IAFONTA_Render

JavaScript type

Boolean

C type

R3BOOL

Description

create render visible curves

Syntax


jsobj.SetRender(value);
value = jsobj.GetRender();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3IAFONTA_Render, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3IAFONTA_Render, &value, R3TAG_END);

Thickness

Attribute

Thickness

Identifier

R3IAFONTA_Thickness

JavaScript type

Number

C type

R3FLOAT

Description

thickness for the curves

Syntax


jsobj.SetThickness(value);
value = jsobj.GetThickness();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3IAFONTA_Thickness, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3IAFONTA_Thickness, &value, R3TAG_END);

Tags

Tags

R3IAFONTA_Orientation