ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference
|
dc.h |
Includes: | "wx/object.h" "wx/cursor.h" "wx/font.h" "wx/colour.h" "wx/brush.h" "wx/pen.h" "wx/palette.h" "wx/list.h" "wx/dynarray.h" "wx/msw/dc.h" "wx/motif/dc.h" "wx/gtk/dc.h" "wx/x11/dc.h" "wx/mgl/dc.h" "wx/mac/dc.h" "wx/cocoa/dc.h" "wx/os2/dc.h" "wx/mac/classic/dc.h" "wx/mac/carbon/dc.h" "wx/pen.h" "wx/brush.h" "wx/icon.h" "wx/font.h" "wx/gdicmn.h" |
DrawEllipticArcRot |
void DrawEllipticArcRot( wxCoord x, wxCoord y, wxCoord width, wxCoord height, double sa = 0, double ea = 0, double angle = 0 )
\param x Upper left corner of bounding box. \param y Upper left corner of bounding box. \param w Width of bounding box. \param h Height of bounding box. \param sa Starting angle of arc (counterclockwise, start at 3 o'clock, 360 is full circle). \param ea Ending angle of arc. \param angle Rotation angle, the Arc will be rotated after calculating begin and end.
Rotate |
void Rotate( wxList*points, double angle, wxPoint center = wxPoint() );
This is a quite straight method, it calculates in pixels and so it produces rounding errors. \param points The points inside will be rotated. \param angle Rotating angle (counterclockwise, start at 3 o'clock, 360 is full circle). \param center Center of rotation.