changed #primDrawBits:redVector:greenVector:blueVector:bitsPerPixel:depth:width:height:into:x:y:width:height:with:
--- 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 $'
! !