Changeset 240 for trunk/src/helpers/gpih.c
- Timestamp:
- Jan 12, 2003, 11:49:24 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/gpih.c
r238 r240 2807 2807 * 2808 2808 * This function may relieve this a bit. This 2809 * creates a memory DC, a nmemory PS, and a bitmap,2809 * creates a memory DC, a memory PS, and a bitmap, 2810 2810 * and selects the bitmap into the memory PS. 2811 2811 * You can then use any GPI function on the memory … … 2820 2820 * Example: 2821 2821 * 2822 + PXBITMAP pbmp = gpihCreateXBitmap(hab, 100, 100);2823 + if (pbmp )2822 + PXBITMAP pbmp; 2823 + if (pbmp = gpihCreateXBitmap(hab, 100, 100)) 2824 2824 + { 2825 2825 + GpiMove(pbmp->hpsMem, ...); … … 2845 2845 { 2846 2846 BOOL fOK = FALSE; 2847 PXBITMAP pbmp = (PXBITMAP)malloc(sizeof(XBITMAP));2848 if (pbmp )2847 PXBITMAP pbmp; 2848 if (pbmp = (PXBITMAP)malloc(sizeof(XBITMAP))) 2849 2849 { 2850 2850 memset(pbmp, 0, sizeof(XBITMAP));
Note:
See TracChangeset
for help on using the changeset viewer.