4D-SVG

SVG_Get_options

SVG_Get_options -> Function result

Parameter Type   Description
Function result Longint Options

Description

The SVG_Get_options command returns a longint representing a 32-bit array where each bit can represent an option of the component. You can use the operators on the 4D bits to check the state of an option (??), and to enable (?+) or disable (?-) one of them.

The following options are currently available:

Bit Option Default
1 Assign an ID automatically when creating an element 0 (disabled)
2 Automatically close any objects thatcan be 0 (disabled)
3 Create objects with a background 1 (enabled)
4 Absolute coordinates for paths 1 (enabled)
5 Create more readable code 0 (disabled)
6 Beep when an error occurs 1 (enabled)
7 Do not display 4D errors 0 (disabled)
8 Transparent pictures 1 (enabled)
9 Use trigonometic origin 0 (disabled)
10 Automatic Arial Substitution 1 (enabled)
11 Set shape-rendering=’crispEdges’ as default for a new canvas 0 (disabled)
12 Check parameters 1 (enabled)
13 Keep extra spaces 0 (disabled)
14 Centered rotation 0 (disabled)

Example

See the SVG_SET_OPTIONS command.

See also

SVG_SET_OPTIONS