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
2018-12-02 08:52:26 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
771508b6ae4fba3d66c574e615dad4b1dfe36e5c
771508b6
1 parent
44f45992
Minimal test draw line on top of the page
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
pdf/test/minimal_test.dart
pdf/test/minimal_test.dart
View file @
771508b
...
...
@@ -9,7 +9,8 @@ void main() {
var
page
=
PdfPage
(
pdf
,
pageFormat:
PdfPageFormat
.
a4
);
var
g
=
page
.
getGraphics
();
g
.
drawLine
(
30.0
,
30.0
,
200.0
,
200.0
);
g
.
drawLine
(
30.0
,
page
.
pageFormat
.
height
-
30.0
,
200.0
,
page
.
pageFormat
.
height
-
200.0
);
g
.
strokePath
();
var
file
=
File
(
'file1.pdf'
);
...
...
Please
register
or
login
to post a comment