Lines Matching refs:angle
193 void wxGraphicsMatrix::Rotate( wxDouble angle )
196 GetMatrixData()->Rotate(angle);
572 void wxGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDouble y, wxDouble angle )
575 Rotate( -angle );
577 Rotate( angle );
603 void wxGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDouble y, wxDouble angle, const wxGraphicsBrush& backgroundBrush )
619 path.AddLineToPoint( (int) (x + sin(angle) * height) , (int) (y + cos(angle) * height) );
621 (int) (x + sin(angle) * height + cos(angle) * width) ,
622 (int) (y + cos(angle) * height - sin(angle) * width));
623 path.AddLineToPoint((int) (x + cos(angle) * width) , (int) (y - sin(angle) * width) );
625 DrawText( str, x ,y, angle);