[cairo] scale and paint a one-pixel width image
coollofty at qq.com
coollofty at qq.com
Thu Sep 19 19:58:01 PDT 2013
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.
coollofty at qq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130920/fb412281/attachment.html>
More information about the cairo
mailing list