r3curveg

r3curveg

Class

real/gadget/r3curveg.h

Library

r3gad

Description:

Curve gadget.

See Also

oops/r3window.h

Super Class

r3Window

R3CLID_WINDOW

JavaScript

r3Curvegadget

Class Identifier

R3CLID_CURVEGADGET - 39

Methods

Attributes

BorderWidth, ZoomX, ZoomY, OffsetX, OffsetY, GadgetX, GadgetY, GadgetXTag, MinXAdjustable, MaxXAdjustable, MinYAdjustable, MaxYAdjustable, AllowPanZoom, GadgetYTag, RGBOrder, DrawGrid,

Registration

int R3RegisterCurveGadgetClass(R3APP *app);

BorderWidth

Attribute

BorderWidth

Identifier

R3CURA_BorderWidth

JavaScript type

Integer

C type

int

Description

'R3CURA_BorderWidth' not documented

Syntax


value = jsobj.GetBorderWidth();


int value;
R3GetAttrs(r3obj, R3CURA_BorderWidth, &value, R3TAG_END);

ZoomX

Attribute

ZoomX

Identifier

R3CURA_ZoomX

JavaScript type

Number

C type

R3FLOAT

Description

'R3CURA_ZoomX' not documented

Syntax


jsobj.SetZoomX(value);
value = jsobj.GetZoomX();


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

ZoomY

Attribute

ZoomY

Identifier

R3CURA_ZoomY

JavaScript type

Number

C type

R3FLOAT

Description

'R3CURA_ZoomY' not documented

Syntax


jsobj.SetZoomY(value);
value = jsobj.GetZoomY();


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

OffsetX

Attribute

OffsetX

Identifier

R3CURA_OffsetX

JavaScript type

Number

C type

R3FLOAT

Description

'R3CURA_OffsetX' not documented

Syntax


jsobj.SetOffsetX(value);
value = jsobj.GetOffsetX();


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

OffsetY

Attribute

OffsetY

Identifier

R3CURA_OffsetY

JavaScript type

Number

C type

R3FLOAT

Description

'R3CURA_OffsetY' not documented

Syntax


jsobj.SetOffsetY(value);
value = jsobj.GetOffsetY();


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

GadgetX

Attribute

GadgetX

Identifier

R3CURA_GadgetX

JavaScript type

Object

C type

R3OBJ*

Description

numeric gadget for x

Syntax


jsobj.SetGadgetX(value);


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3CURA_GadgetX, value, R3TAG_END);

GadgetY

Attribute

GadgetY

Identifier

R3CURA_GadgetY

JavaScript type

Object

C type

R3OBJ*

Description

numeric gadget for x

Syntax


jsobj.SetGadgetY(value);


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3CURA_GadgetY, value, R3TAG_END);

GadgetXTag

Attribute

GadgetXTag

Identifier

R3CURA_GadgetXTag

JavaScript type

Integer

C type

R3INT

Description

Syntax


jsobj.SetGadgetXTag(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3CURA_GadgetXTag, value, R3TAG_END);

MinXAdjustable

Attribute

MinXAdjustable

Identifier

R3CURA_MinXAdjustable

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetMinXAdjustable(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3CURA_MinXAdjustable, value, R3TAG_END);

MaxXAdjustable

Attribute

MaxXAdjustable

Identifier

R3CURA_MaxXAdjustable

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetMaxXAdjustable(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3CURA_MaxXAdjustable, value, R3TAG_END);

MinYAdjustable

Attribute

MinYAdjustable

Identifier

R3CURA_MinYAdjustable

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetMinYAdjustable(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3CURA_MinYAdjustable, value, R3TAG_END);

MaxYAdjustable

Attribute

MaxYAdjustable

Identifier

R3CURA_MaxYAdjustable

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetMaxYAdjustable(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3CURA_MaxYAdjustable, value, R3TAG_END);

AllowPanZoom

Attribute

AllowPanZoom

Identifier

R3CURA_AllowPanZoom

JavaScript type

Boolean

C type

R3BOOL

Description

if set, mouse+RMB can be used to pan/zoom. Default is TRUE

Syntax


jsobj.SetAllowPanZoom(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3CURA_AllowPanZoom, value, R3TAG_END);

GadgetYTag

Attribute

GadgetYTag

Identifier

R3CURA_GadgetYTag

JavaScript type

Integer

C type

R3INT

Description

Syntax


jsobj.SetGadgetYTag(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3CURA_GadgetYTag, value, R3TAG_END);

RGBOrder

Attribute

RGBOrder

Identifier

R3CURA_RGBOrder

JavaScript type

Integer

C type

R3INT

Description

order for four sub curve colors, (sub0<<24)|(sub1<<16)|(sub2<<8)|sub3, default = (0<<24)|(1<<16)|(2<<8)|3

Syntax


jsobj.SetRGBOrder(value);
value = jsobj.GetRGBOrder();


R3INT value = ...;
R3SetAttrs(r3obj, R3CURA_RGBOrder, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3CURA_RGBOrder, &value, R3TAG_END);

DrawGrid

Attribute

DrawGrid

Identifier

R3CURA_DrawGrid

JavaScript type

Boolean

C type

R3BOOL

Description

default value=TRUE

Syntax


jsobj.SetDrawGrid(value);
value = jsobj.GetDrawGrid();


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

for map changes

R3CURCH_MOVED
R3CURCH_CLICK
R3CURCH_DOUBLECLICK


r3appobj *