summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-07-13 17:01:23 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-07-13 17:01:23 -0400
commite7496ef2fb69334c18efd2e51c98e428b0b54a19 (patch)
treed56cc05dc0b8bb69669cbc29cd0b961ca5abb158 /def.go
parentd74ca8575df7ec44d2bb3357a3f8ecacf3ca8497 (diff)
parent948d75670f89e31587919f7828fe9931387322a3 (diff)
Merge pull request #30 from stanim/getalpha
Implement GetAlpha
Diffstat (limited to 'def.go')
-rw-r--r--def.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/def.go b/def.go
index 3973351..437449c 100644
--- a/def.go
+++ b/def.go
@@ -223,6 +223,8 @@ type Fpdf struct {
dashPhase float64 // dash phase
blendList []blendModeType // slice[idx] of alpha transparency modes, 1-based
blendMap map[string]int // map into blendList
+ blendMode string // current blend mode
+ alpha float64 // current transpacency
gradientList []gradientType // slice[idx] of gradient records
clipNest int // Number of active clipping contexts
transformNest int // Number of active transformation contexts