[cairo] Inverting the Y-axis

Adrian Johnson ajohnson at redneon.com
Wed Aug 10 09:42:23 PDT 2005


Is there an easy way to invert the Y axis?

I've tried

    cairo_matrix_init(&m, 1, 0, 0, -1, 0, Y_MAX);
    cairo_transform(cr, &m);

however this causes text to be displayed upside down.



More information about the cairo mailing list