summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2014-09-16 22:38:49 -0400
committerKurt Jung <kurt.w.jung@code.google.com>2014-09-16 22:38:49 -0400
commitcbbfe21f94ea53f0800feaf4e9c06c038ddc1e6e (patch)
tree952009ff7b8098e3ffc10c96fe88887e7a78ffa4 /def.go
parent9f16b52334238f446dbafcbe06ffff0637403361 (diff)
Added layer functionality. This allows content to be placed into layers, the visibility of which can be controlled from the document reader.
Diffstat (limited to 'def.go')
-rw-r--r--def.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/def.go b/def.go
index 422eb1c..6d12af3 100644
--- a/def.go
+++ b/def.go
@@ -197,6 +197,7 @@ type Fpdf struct {
transformNest int // Number of active transformation contexts
err error // Set if error occurs during life cycle of instance
protect protectType // document protection structure
+ layer layerRecType // manages optional layers in document
colorFlag bool // indicates whether fill and text colors are different
color struct { // Composite values of colors
draw, fill, text clrType