Versions in this module Expand all Collapse all v0 v0.1.7 Oct 30, 2026 Changes in this version + const DefaultLineWidth + func DeviceGradient(gradient geom.Gradient, matrix geom.Matrix) (geom.Gradient, bool) + func HasColorValue(source *models.CTColor) bool + func LineCapper(capStr string) geom.Capper + func LineJoiner(joinStr string) geom.Joiner + func MapNativeGradient(gradient geom.Gradient, matrix geom.Matrix) geom.Gradient + func NeedsRaster(gradient geom.Gradient, objectAlpha *uint8) bool + func NewGouraudGradient(shd *models.CTGouraudShd, transform func(models.StPos) geom.Point, ...) geom.Gradient + func NewLatticeGradient(shd *models.CTLaGouraudShd, transform func(models.StPos) geom.Point, ...) geom.Gradient + func NewLinearGradient(shd *models.CTAxialShd, transform func(models.StPos) geom.Point, ...) geom.Gradient + func NewRadialGradient(shd *models.CTRadialShd, transform func(models.StPos) geom.Point, ...) geom.Gradient + func NormalizeLineWidth(value float64) float64 + func PrepareDashPattern(pattern *models.StArrayF, lineCap string, scale float64) *models.StArrayF + func ResolvePathStyle(object models.CtPath, inherited *models.DrawParam, strokeScale float64) models.CtPath + func ScaleAlpha(c color.RGBA, opacity uint8) color.RGBA + func ScaleOpacity(gradient geom.Gradient, opacity uint8) geom.Gradient + func StrokeJoiner(join string, miterLimit, lineWidth float64) geom.Joiner + func StrokeScale(objectCTM, parentCTM *models.CTM) float64 + func TextRunGradient(gradient geom.Gradient, origin geom.Point, hScale float64) geom.Gradient + func TranslateGradient(gradient geom.Gradient, dx, dy float64) geom.Gradient + func ValidDashPattern(offset float64, pattern *models.StArrayF) bool + type Color struct + Gradient geom.Gradient + HasValue bool + Value color.RGBA + type Resolver struct + func (p *Resolver) Close() + func (p *Resolver) Gradient(source *models.CTColor, transform func(models.StPos) geom.Point, ...) geom.Gradient + func (p *Resolver) RGBA(source models.CTColor, resources Resources) color.RGBA + func (p *Resolver) Resolve(source *models.CTColor, resources Resources) *Color + func (p *Resolver) ResolveSolid(source *models.CTColor, resources Resources) *Color + func (p *Resolver) TextGradient(source *models.CTColor, objectAlpha *uint8, resources Resources) geom.Gradient + type Resources interface + GetColorSpace func(id models.StID) *models.ColorSpace + ReadColorProfile func(name string) ([]byte, error)