changed #primDrawBits:redVector:greenVector:blueVector:bitsPerPixel:depth:width:height:into:x:y:width:height:with:
authorfm
Fri, 19 Oct 2007 15:52:05 +0200
changeset 2340 7aada47a2ec0
parent 2339 1926485dda73
child 2341 cf7b3de4f3ef
changed #primDrawBits:redVector:greenVector:blueVector:bitsPerPixel:depth:width:height:into:x:y:width:height:with:
WinPrinterContext.st
--- a/WinPrinterContext.st	Fri Oct 19 15:48:06 2007 +0200
+++ b/WinPrinterContext.st	Fri Oct 19 15:52:05 2007 +0200
@@ -3354,7 +3354,7 @@
             int b_width, b_height, bytesPerRowST, bytesPerRowWN, padding, nBytes;
             int bi = __intVal(bitsPerPixel);
 
-            console_fprintf(stderr, "Non WIN32PADDING");
+//            console_fprintf(stderr, "Non WIN32PADDING");
 
             b_width = __intVal(w);
             b_height = __intVal(h);
@@ -3402,9 +3402,6 @@
         if (__intVal(imageDepth) == 8) {
             for(col=0;col<256;col++)
              {
-                if (__redVector[col] == 0) {
-                    console_fprintf(stderr, "__redVector[col] 0");
-                }
               bitmap.bmiColors[col].rgbBlue = __blueVector[col];    // Microsoft idea: change rgbBlue to rgbRed
               bitmap.bmiColors[col].rgbGreen = __greenVector[col];
               bitmap.bmiColors[col].rgbRed = __redVector[col];         // Microsoft idea: change rgbRed to rgbBlue
@@ -5210,5 +5207,5 @@
 !WinPrinterContext class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.17 2007-10-19 13:48:06 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.18 2007-10-19 13:52:05 fm Exp $'
 ! !