mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
some tweaks to the size of circles in a scatter plot
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1258 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -293,6 +293,11 @@ void RotatedDC::DrawCircle(const RealPoint& center, double radius) {
|
||||
dc.DrawCircle(p.x + 1, p.y + 1, int(trS(radius)));
|
||||
}
|
||||
|
||||
void RotatedDC::DrawEllipse(const RealPoint& center, const RealSize& size) {
|
||||
wxPoint c_ext = tr(center - size/2);
|
||||
wxSize s_ext = trSizeToBB(size);
|
||||
dc.DrawEllipse(c_ext.x, c_ext.y, s_ext.x, s_ext.y);
|
||||
}
|
||||
void RotatedDC::DrawEllipticArc(const RealPoint& center, const RealSize& size, double start, double end) {
|
||||
wxPoint c_ext = tr(center - size/2);
|
||||
wxSize s_ext = trSizeToBB(size);
|
||||
|
||||
Reference in New Issue
Block a user