unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.5k stars 249 forks source link

Added support for drawing polygons and polylines #396

Closed akohring closed 3 years ago

akohring commented 4 years ago

This change is Reviewable

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 4 years ago

Codecov Report

Merging #396 into master will decrease coverage by 4.90%. The diff coverage is 88.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #396      +/-   ##
==========================================
- Coverage   57.34%   52.43%   -4.91%     
==========================================
  Files         249      252       +3     
  Lines       47251    47496     +245     
==========================================
- Hits        27096    24906    -2190     
- Misses      16727    19406    +2679     
+ Partials     3428     3184     -244     
Impacted Files Coverage Δ
creator/block.go 68.42% <70.58%> (+0.11%) :arrow_up:
creator/polyline.go 81.81% <81.81%> (ø)
creator/rectangle.go 88.46% <85.71%> (+3.84%) :arrow_up:
creator/poly_cubic_bezier_curve.go 86.04% <86.04%> (ø)
creator/polygon.go 86.95% <86.95%> (ø)
contentstream/draw/shapes.go 77.58% <96.34%> (+8.35%) :arrow_up:
creator/creator.go 70.50% <100.00%> (+0.48%) :arrow_up:
creator/paragraph.go 84.07% <100.00%> (+0.36%) :arrow_up:
internal/jbig2/globals.go 0.00% <0.00%> (-100.00%) :arrow_down:
internal/e2etest/memory_measure.go 0.00% <0.00%> (-100.00%) :arrow_down:
... and 68 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 60bb696...1908ba1. Read the comment docs.

gunnsth commented 3 years ago

This PR has been reviewed and integrated into newest UniPDF v3.11.0 release.