parent
9085238753
commit
f8b02e7f40
|
@ -144,6 +144,11 @@ QPointF VArc::GetP2 () const
|
||||||
*/
|
*/
|
||||||
qreal VArc::AngleArc() const
|
qreal VArc::AngleArc() const
|
||||||
{
|
{
|
||||||
|
if ((qFuzzyCompare(d->f1+1, 0+1) && qFuzzyCompare(d->f2, 360)) ||
|
||||||
|
(qFuzzyCompare(d->f1, 360) && qFuzzyCompare(d->f2+1, 0+1)))
|
||||||
|
{
|
||||||
|
return 360;
|
||||||
|
}
|
||||||
QLineF l1(0, 0, 100, 100);
|
QLineF l1(0, 0, 100, 100);
|
||||||
l1.setAngle(d->f1);
|
l1.setAngle(d->f1);
|
||||||
QLineF l2(0, 0, 100, 100);
|
QLineF l2(0, 0, 100, 100);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user