Re: Questions about rotated text





2007/9/11, Yahya Mohammad <mfyahya gmail com>:
Hi list,

I'm trying to render rotated text with the freetype2 functions, and
there are a few things I don't understand. I rotated the layout using

pango_matrix_rotate(matrix, angle);
pango_context_set_matrix(context, matrix);
pango_layout_context_changed(layout)

Is the rotation done about the top left corner of the layout or is it
the left edge of the baseline?

Its done at the top left of the corner.

--
Rahul Bhalerao



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]