Changeset 1977 in Sophya for trunk/SophyaPI
- Timestamp:
- May 2, 2002, 6:55:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pigraphx.cc
r1899 r1977 17 17 static PIXColor colpix[NMAXCOL]; 18 18 19 /* GC pour DrawPixmap */20 static GC dpxgc; 19 /* GC pour DrawPixmap 20 static GC dpxgc; Pas utile ?? - Reza 02/05/2002 */ 21 21 22 22 // #define DEBUG_PIBWDGX Flag pour impression de debug etc ... … … 412 412 { XPutPixel(ximg, i, j, cmap->Color(*pix) ); pix++; } 413 413 414 XPutImage(mdsp, xw, dpxgc, ximg, 0, 0, (int)x, (int)y, sx, sy);414 XPutImage(mdsp, xw, DefGC(), ximg, 0, 0, (int)x, (int)y, sx, sy); 415 415 416 416 delete[] ximg->data; … … 701 701 xr.width = dx; xr.height = dy; 702 702 XSetClipRectangles(mDisp, DefGC(), 0, 0, &xr, 1, Unsorted); 703 XSetClipRectangles(mDisp, dpxgc, 0, 0, &xr, 1, Unsorted);703 XSetClipRectangles(mDisp, mMrkGC, 0, 0, &xr, 1, Unsorted); 704 704 return; 705 705 } … … 709 709 { 710 710 XSetClipMask(mDisp, DefGC(), None); 711 XSetClipMask(mDisp, dpxgc, None);711 XSetClipMask(mDisp, mMrkGC, None); 712 712 return; 713 713 } … … 870 870 xgv.function = GXcopy; 871 871 xgv.plane_mask = ~0; 872 dpxgc = XCreateGC(mdsp, DefaultRootWindow(mdsp), GCFunction | GCPlaneMask, &xgv); 872 /* dpxgc = XCreateGC(mdsp, DefaultRootWindow(mdsp), 873 GCFunction | GCPlaneMask, &xgv); Pas utile ?? - Reza 02/05/2002 */ 873 874 874 875 /* Coordonnees pour une etoile a 5 branches */
Note:
See TracChangeset
for help on using the changeset viewer.