freetype
[Top][All Lists]
Advanced

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

[Freetype] questions about combination of rotation and italic


From: wjjdtvout
Subject: [Freetype] questions about combination of rotation and italic
Date: Thu, 25 Oct 2001 16:47:47 +0800

 
 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]