GLDraw: DrawGL

git-svn-id: svn://ultimatepp.org/upp/trunk@12413 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-10-24 11:35:02 +00:00
parent e6b5d3129c
commit 834494ae5a
11 changed files with 64 additions and 78 deletions

View file

@ -4,6 +4,7 @@ namespace Upp {
void GLArc(Vector<Vector<Pointf>>& line, const Rectf& rc, Pointf start, Pointf end)
{
GL_TIMING("GLArc");
if(rc.Width() <= 0 || rc.Height() <= 0)
return;
Sizef radius = Sizef(rc.Size()) / 2.0;