how to creatre elliptic reigion? Topic is solved
how to creatre elliptic reigion?
hi, guys. Is there any way to create an elliptic region but wxRegion(wxBitmap&, wxColour&)? wxRegion from bitmap are very slow.
Maybe handling a wxPoint Array,
and inserting the shape of an ellipse into it,
is faster, but still not the best.
wxRegion(size_t n, const wxPoint *points, int fillStyle = wxWINDING_RULE)
Also the question is, how accurate you want the ellipse to be,
the less Points you have, the faster it is probably.
and inserting the shape of an ellipse into it,
is faster, but still not the best.
wxRegion(size_t n, const wxPoint *points, int fillStyle = wxWINDING_RULE)
Also the question is, how accurate you want the ellipse to be,
the less Points you have, the faster it is probably.