How to make cairo_scale work?

唐博 <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
        cairo_set_source_rgba(cr, 1.0, 1.0, 0.0, 1);
        cairo_rectangle(cr, 150, 150, 300, 300);
        cairo_fill(cr);

        cairo_scale(cr, 2, 2);
        How can make above work? I know cairo_scale() should be called before  cairo_rectangle(). Anyone help? cairo_rotate() is also like this.

--
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.