mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12703 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4dab41e240
commit
e5af80a739
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fil
|
|||
if(r.cx > 0 && r.cy > 0 && !IsNull(fill_color))
|
||||
GLDrawPolygons(dd, center, fill, r, fill_color);
|
||||
r = radius - Sizef(width / 2, width / 2);
|
||||
if(width && !IsNull(line_color))
|
||||
if(width && !IsNull(line_color)) {
|
||||
if(dash.GetCount()) {
|
||||
GL_TIMING("Ellipse Dash");
|
||||
Vector<Pointf> line;
|
||||
|
|
@ -38,6 +38,7 @@ void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fil
|
|||
}
|
||||
else
|
||||
GLDrawPolylines(dd, center, line, r, width, line_color);
|
||||
}
|
||||
}
|
||||
|
||||
void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fill_color, double width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue