Jump to content

RECTL: Difference between revisions

From EDM2
Created page with "Rectangle structure. ==Type== RECTL ==C Declaration Method== typedef ==Example Code== typedef struct _RECTL { LONG xLeft; /* X-coordinate of left-hand..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users 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 13: Line 9:
   LONG    xRight;  /*  X-coordinate of right-hand edge of rectangle. */
   LONG    xRight;  /*  X-coordinate of right-hand edge of rectangle. */
   LONG    yTop;    /*  Y-coordinate of top edge of rectangle. */  
   LONG    yTop;    /*  Y-coordinate of top edge of rectangle. */  
  } [[RECTL]];
  } RECTL;
   
   
  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