Lines Matching refs:angle
886 void wxMacCGContext::DrawText( const wxString &str, wxCoord x, wxCoord y, double angle )
924 int iAngle = int( angle );
977 (int) (drawX + sin(angle / RAD2DEG) * FixedToInt(ascent + descent)) ,
978 (int) (drawY + cos(angle / RAD2DEG) * FixedToInt(ascent + descent)) ) ;
980 (int) (drawX + sin(angle / RAD2DEG) * FixedToInt(ascent + descent ) + cos(angle / RAD2DEG) * FixedToInt(textAfter)) ,
981 (int) (drawY + cos(angle / RAD2DEG) * FixedToInt(ascent + descent) - sin(angle / RAD2DEG) * FixedToInt(textAfter)) ) ;
983 (int) (drawX + cos(angle / RAD2DEG) * FixedToInt(textAfter)) ,
984 (int) (drawY - sin(angle / RAD2DEG) * FixedToInt(textAfter)) ) ;
990 x += (int)(sin(angle / RAD2DEG) * FixedToInt(ascent));
991 y += (int)(cos(angle / RAD2DEG) * FixedToInt(ascent));
2109 double angle)
2122 m_graphicContext->DrawText( str, drawX ,drawY , angle ) ;