Jump to content

LONG: Difference between revisions

From EDM2
Anakor (talk | contribs)
No edit summary
 
Anakor (talk | contribs)
m Format
Line 3: Line 3:
Signed long integer.
Signed long integer.


=== Base Type ===
=== Type ===


[[OS2 API:DataType:long|long]]
long
 
==== C Declaration Method ====
 
#define


=== Comment ===
=== Comment ===

Revision as of 21:17, 26 May 2005

LONG

Signed long integer.

Type

long

C Declaration Method

#define

Comment

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.