- GpiSetBitmap(hps, image->bitmap);
- point.x = x;
- point.y = y;
- GpiSetColor(hps, (LONG)image_pixels[HashColorIndex(slot)]);
- GpiSetPel(hps, &point);
+ shapedc = DevOpenDC(hab, OD_MEMORY, "*", 5L, (PDEVOPENDATA)&dop, NULLHANDLE);
+ *dc = GpiCreatePS(hab, shapedc, &sizl, GPIA_ASSOC | PU_PELS);
+
+ GpiSetBitmap(*dc, image->bitmap);
+ point.x = x;
+ point.y = y;
+ GpiSetColor(*dc, (LONG)image_pixels[HashColorIndex(slot)]);
+ GpiSetPel(*dc, &point);