LONG: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Signed long integer. | Signed long integer. | ||
== Type == | |||
long | [[long]] | ||
== C Declaration Method == | |||
#define | #define | ||
== | == Remarks == | ||
Where this data type represents a graphic coordinate in world or model space, its value is restricted to -134 217 728 through 134 217 727. | Where this data type represents a graphic coordinate in world or model space, its value is restricted to -134 217 728 through 134 217 727. | ||
Line 14: | Line 13: | ||
The value of a graphic coordinate may be further restricted by any transforms currently in force, including the positioning of the origin of the window on the screen. In particular, coordinates in world or model space must not generate coordinate values after transformation (that is, in device or screen space) outside the range -32768 through 32 767. | The value of a graphic coordinate may be further restricted by any transforms currently in force, including the positioning of the origin of the window on the screen. In particular, coordinates in world or model space must not generate coordinate values after transformation (that is, in device or screen space) outside the range -32768 through 32 767. | ||
== C Sample Declaration== | |||
#define LONG long | |||
[[Category:Data type]] | [[Category:Data type]] |
Latest revision as of 20:54, 25 June 2023
Signed long integer.
Type
long
C Declaration Method
#define
Remarks
Where this data type represents a graphic coordinate in world or model space, its value is restricted to -134 217 728 through 134 217 727.
A graphic coordinate in device or screen coordinates is restricted to -32 768 through 32 767.
The value of a graphic coordinate may be further restricted by any transforms currently in force, including the positioning of the origin of the window on the screen. In particular, coordinates in world or model space must not generate coordinate values after transformation (that is, in device or screen space) outside the range -32768 through 32 767.
C Sample Declaration
#define LONG long