summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorStani <spe.stani.be@gmail.com>2015-07-12 22:54:44 +0200
committerStani <spe.stani.be@gmail.com>2015-07-12 22:54:44 +0200
commit948d75670f89e31587919f7828fe9931387322a3 (patch)
treed56cc05dc0b8bb69669cbc29cd0b961ca5abb158 /def.go
parentd74ca8575df7ec44d2bb3357a3f8ecacf3ca8497 (diff)
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