Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2019-06-15 09:50:34 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
049f50b733853fe08c78370a362c508a8d4edb75
049f50b7
1 parent
a940af96
Fix code lint
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
pdf/lib/src/graphics.dart
pdf/lib/src/graphics.dart
View file @
049f50b
...
...
@@ -338,9 +338,9 @@ class PdfGraphics {
double
dTheta
=
_vectorAngle
((
x1d
-
cxd
)
/
rx
,
(
y1d
-
cyd
)
/
ry
,
(-
x1d
-
cxd
)
/
rx
,
(-
y1d
-
cyd
)
/
ry
)
%
(
math
.
pi
*
2.0
);
if
(
sweep
==
false
&&
dTheta
>
0.0
)
if
(
sweep
==
false
&&
dTheta
>
0.0
)
{
dTheta
-=
math
.
pi
*
2.0
;
else
if
(
sweep
==
true
&&
dTheta
<
0.0
)
{
}
else
if
(
sweep
==
true
&&
dTheta
<
0.0
)
{
dTheta
+=
math
.
pi
*
2.0
;
}
_bezierArcFromCentre
(
cx
,
cy
,
rx
,
ry
,
-
theta
,
-
dTheta
);
...
...
Please
register
or
login
to post a comment