RECTL: Difference between revisions
Appearance
Created page with "Rectangle structure. ==Type== RECTL ==C Declaration Method== typedef ==Example Code== typedef struct _RECTL { LONG xLeft; /* X-coordinate of left-hand..." |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Rectangle structure. | Rectangle structure. | ||
==C Declaration Method== | ==C Declaration Method== | ||
typedef | typedef | ||
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; | ||
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