Changeset 129 for trunk/src/helpers/gpih.c
- Timestamp:
- Jan 8, 2002, 7:29:57 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/gpih.c
r127 r129 78 78 * mentioned in the documentation, so a word is in order here. 79 79 * 80 * In general, graphics operations 81 * involving device coordinates (such as regions, bit maps and 82 * bit blts, and window management) use inclusive-exclusive 83 * rectangles. All other graphics operations, such as GPI 84 * functions that define paths, use inclusive-inclusive rectangles. 80 * In general, graphics operations involving device coordinates 81 * (such as regions, bit maps and bit blts, and window management) 82 * use inclusive-exclusive rectangles. In other words, with 83 * those rectangles, xRight - xLeft is the same as the width 84 * of the rectangle (and yTop - yBottom = height). 85 * 86 * All other graphics operations, such as GPI functions that 87 * define paths, use inclusive-inclusive rectangles. 85 88 * 86 89 * This can be a problem with mixing Win and Gpi functions. For 87 90 * example, WinQueryWindowRect returns an inclusive-exclusive 88 * rectangle (so that the xRight value is the same as the window 89 * width -- tested V0.9.7 (2000-12-20) [umoeller]). 91 * rectangle (tested V0.9.7 (2000-12-20) [umoeller]). 90 92 * 91 93 * WinFillRect expects an inclusive-exclusive rectangle, so it … … 267 269 + GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL); 268 270 * 269 *@@changed V0.9.7 (2001-01-15) [umoeller]: turned macro into function 271 *@@changed V0.9.7 (2001-01-15) [umoeller]: turned macro into function to reduce fixups 270 272 */ 271 273
Note:
See TracChangeset
for help on using the changeset viewer.