scale and paint a one-pixel width image

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
A rgb(0,0,0) to rgb(256,256,256) linear gradient image, set the scale(256,1) and paint it to screen, the result was not I wanted. I think the right result should be the same operate in photoshop: create a size(1,256) file, draw a linear gradient, then set the image size to (256,256), it is right.



[email protected]

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.