Jump to content

LONG: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== LONG ==
== LONG ==
Signed long integer.
Signed long integer.


=== Type ===
=== Type ===
long
long


==== C Declaration Method ====
==== C Declaration Method ====
  #define
  #define


=== Comment ===
=== 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.
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.
A graphic coordinate in device or screen coordinates is restricted to -32 768 through 32 767.
Line 21: Line 15:
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.


 
[[Category:Data type]]
 
 
 
[[Category:The OS/2 API Project]]

Revision as of 17:37, 1 November 2016

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.