Jump to content

RECTL: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Rectangle structure.  
Rectangle structure.
 
==Type==
RECTL


==C Declaration Method==
==C Declaration Method==
typedef  
typedef  


==Example Code==
  typedef struct _RECTL {
  typedef struct _RECTL {
   [[LONG]]    xLeft;    /*  X-coordinate of left-hand edge of rectangle. */
   [[LONG]]    xLeft;    /*  X-coordinate of left-hand edge of rectangle. */
Line 17: Line 13:
  typedef RECTL *PRECTL;
  typedef RECTL *PRECTL;


[[Category:Data type]]
RECTL structure:
;xLeft:Minimum x-coordinate of viewing limits
;yBottom:Minimum y-coordinate
;xRight:Maximum x-coordinate of viewing limits
;yTop:Maximum y-coordinate
 
[[Category:PM Data type]]

Latest revision as of 12:32, 21 February 2020

Rectangle structure.

C Declaration Method

typedef

typedef struct _RECTL {
  LONG     xLeft;    /*  X-coordinate of left-hand edge of rectangle. */
  LONG     yBottom;  /*  Y-coordinate of bottom edge of rectangle. */
  LONG     xRight;   /*  X-coordinate of right-hand edge of rectangle. */
  LONG     yTop;     /*  Y-coordinate of top edge of rectangle. */ 
} RECTL;

typedef RECTL *PRECTL;

RECTL structure:

xLeft
Minimum x-coordinate of viewing limits
yBottom
Minimum y-coordinate
xRight
Maximum x-coordinate of viewing limits
yTop
Maximum y-coordinate