Skip to content

Commit 4587319

Browse files
Replace Color constructor with factory method, remove explicit colorspace fields from graphics state, improve colors comparison
Before, when colors were compared the colorspaces were compared as wrapper object instances. Now we compare colorspace objects, so for example any device color spaces are now equal, because they are only represented by PdfName. This means that now PdfCanvas optimization logic, that checks if the same color is already applied, works better. DEVSIX-599
1 parent 8f7d0f3 commit 4587319

39 files changed

+126
-153
lines changed

0 commit comments

Comments
 (0)