summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
Diffstat (limited to 'def.go')
-rw-r--r--def.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/def.go b/def.go
index 146a705..7272f73 100644
--- a/def.go
+++ b/def.go
@@ -40,6 +40,10 @@ type sizeType struct {
wd, ht float64
}
+type pointType struct {
+ x, y float64
+}
+
type imageInfoType struct {
data []byte
smask []byte
@@ -137,6 +141,7 @@ type Fpdf struct {
blendList []blendModeType // slice[idx] of alpha transparency modes, 1-based
blendMap map[string]int // map into blendList
gradientList []gradientType // slice[idx] of gradient records
+ clipActive bool // clippping operation is underway
err error // Set if error occurs during life cycle of instance
}