|
From: | wjjdtvout |
Subject: | [Freetype] no question about combination of rotation and italic now! |
Date: | Thu, 25 Oct 2001 16:56:01 +0800 |
I understand now that my multiplication order is
wrong!
This problem is solved now.
----- Original Message -----
From: wjjdtvout
To: address@hidden
Sent: Thursday, October 25, 2001 4:47 PM
Subject: questions about combination of rotation and
italic see following code as an example
FT_Matrix
italic_matrix,matrix;
italic_matrix.xx =
0x10000;
italic_matrix.yx = 0x00000; italic_matrix.xy = 0x06000; italic_matrix.yy = 0x10000; if(italic)
{ SetRotationMatrix(RotateAngle,&matrix); FT_Matrix_Multiply(&italic_matrix,&matrix); } FT_Set_Transform( face, &matrix,
&pen );
Just multiply the matrixes do not return a
corrcet value in advance!!!!
If RotateAngle is 45 degree, only 35 degree
can be seen on the screen with italic mode.
How to combined rotation and italic
correctly in matrix?
Regard
Wang JiangJiang
|
[Prev in Thread] | Current Thread | [Next in Thread] |