[GEM-dev] [Fwd: Gem/src/Pixes pix_halftone.cpp,1.14,1.14]

IOhannes m zmoelnig zmoelnig at iem.at
Sun May 9 21:35:56 CEST 2004


diff -C2 -d -r1.13 -r1.14
*** pix_halftone.cpp	7 May 2004 17:37:56 -0000	1.13
--- pix_halftone.cpp	9 May 2004 07:03:36 -0000	1.14
***************
*** 243,247 ****
-     myImage.setCsizeByFormat(image.format);
--- 243,250 ----
+     myImage.csize = image.csize;
+     myImage.format = image.format;
+     myImage.type = image.type;
+   //  myImage.setCsizeByFormat(image.format);

is there any reason to not use the setCsizeByFormat()-function (apart 
from its crazy name ?)

it should guarantee the consistency between csize, format and type of 
the image.

in another cvs-commit by you i noted that you added a comment like "this 
could be buggy". does this mean anything specific ?


mfg.a.sdr
IOhannes







More information about the GEM-dev mailing list