Documentation
¶
Overview ¶
Package raster is a pure-Go software 2D rasterizer: anti-aliased path filling and stroking, gradients, patterns, compositing, blur, filters, text and a display-list painter (Paint) for internal/render. It is also the engine behind the HTML canvas 2D context.
Index ¶
- Variables
- func ApplyFilters(s *Surface, fl []Filter)
- func OpName(op CompositeOp) string
- func Paint(list []render.Op, width, height int, dpr float64, env PaintEnv) *image.RGBA
- func PointInPath(p *Path, m Matrix, x, y float64, rule FillRule) bool
- type Band
- type Brush
- type Canvas
- type Color
- type CompositeOp
- type Context
- func (c *Context) BeginLayer(bounds IRect, filters []Filter)
- func (c *Context) ClearRect(x, y, w, h float64)
- func (c *Context) ClipBounds() IRect
- func (c *Context) ClipPath(p *Path, rule FillRule)
- func (c *Context) ClipPathDevice(p *Path, rule FillRule)
- func (c *Context) ClipRect(x, y, w, h float64)
- func (c *Context) ClipRoundRect(r Rect, rad [4][2]float64)
- func (c *Context) Concat(m Matrix)
- func (c *Context) DrawImage(img *Surface, sx, sy, sw, sh, dx, dy, dw, dh float64)
- func (c *Context) DrawSurface(s *Surface, op CompositeOp, alpha float64)
- func (c *Context) EndLayer(opacity float64, op CompositeOp)
- func (c *Context) FillPaint() Brush
- func (c *Context) FillPath(p *Path, rule FillRule)
- func (c *Context) FillPathDevice(p *Path, rule FillRule)
- func (c *Context) FillPathShader(p *Path, rule FillRule, sh Shader)
- func (c *Context) FillRect(x, y, w, h float64)
- func (c *Context) FillRectShader(x, y, w, h float64, sh Shader)
- func (c *Context) FillText(text string, x, y, maxWidth float64)
- func (c *Context) Font() FontSpec
- func (c *Context) GetImageData(x, y, w, h int) []uint8
- func (c *Context) GlobalAlpha() float64
- func (c *Context) IsPointInPath(p *Path, x, y float64, rule FillRule) bool
- func (c *Context) IsPointInStroke(p *Path, x, y float64) bool
- func (c *Context) LayerDepth() int
- func (c *Context) MapFamilies(fn func(string) string)
- func (c *Context) MeasureText(text string) TextMetrics
- func (c *Context) Op() CompositeOp
- func (c *Context) PutImageData(data []uint8, w, h, dx, dy, dirtyX, dirtyY, dirtyW, dirtyH int)
- func (c *Context) ResetState()
- func (c *Context) Restore()
- func (c *Context) Rotate(a float64)
- func (c *Context) Save()
- func (c *Context) SaveDepth() int
- func (c *Context) Scale(x, y float64)
- func (c *Context) SetBaseFontSize(v float64)
- func (c *Context) SetDirection(d string)
- func (c *Context) SetFill(p Brush)
- func (c *Context) SetFilters(f []Filter)
- func (c *Context) SetFont(s string) bool
- func (c *Context) SetFontKerning(k string)
- func (c *Context) SetGlobalAlpha(a float64)
- func (c *Context) SetLetterSpacing(v float64)
- func (c *Context) SetOp(op CompositeOp)
- func (c *Context) SetShadow(col Color, blur, dx, dy float64)
- func (c *Context) SetSmoothing(on bool, q Quality)
- func (c *Context) SetStroke(p Brush)
- func (c *Context) SetStrokeStyle(s StrokeStyle)
- func (c *Context) SetTextAlign(a string)
- func (c *Context) SetTextBaseline(b string)
- func (c *Context) SetTransform(m Matrix)
- func (c *Context) SetTransformStash()
- func (c *Context) SetWordSpacing(v float64)
- func (c *Context) StrokePaint() Brush
- func (c *Context) StrokePath(p *Path)
- func (c *Context) StrokeRect(x, y, w, h float64)
- func (c *Context) StrokeStyle() StrokeStyle
- func (c *Context) StrokeText(text string, x, y, maxWidth float64)
- func (c *Context) Surface() *Surface
- func (c *Context) Transform() Matrix
- func (c *Context) Translate(x, y float64)
- type DashParams
- type FillRule
- type Filter
- type FilterMode
- type FontSpec
- type Glyph
- type GradKind
- type GradStop
- type GradientDef
- type IRect
- type ImageShader
- type LineCap
- type LineJoin
- type ListInfo
- type Mask
- func BlurMask(m *Mask, sigmaX, sigmaY float64, dx, dy int, clip IRect) *Mask
- func FillMask(p *Path, m Matrix, rule FillRule, clip IRect) *Mask
- func RasterizePolys(sp []Subpath, rule FillRule, clip IRect) *Mask
- func StrokeMask(p *Path, m Matrix, st StrokeStyle, clip IRect) *Mask
- func StrokeMaskFx(p *Path, m Matrix, st StrokeStyle, clip IRect) (mask *Mask, ok bool)
- type Mat3
- type Matrix
- func (m Matrix) Apply(x, y float64) (float64, float64)
- func (m Matrix) ApplyPt(p Pt) Pt
- func (m Matrix) Det() float64
- func (m Matrix) Invert() (Matrix, bool)
- func (m Matrix) IsAxisAligned() bool
- func (m Matrix) IsIdentity() bool
- func (m Matrix) MaxScale() float64
- func (m Matrix) Mul(n Matrix) Matrix
- type PaintEnv
- type Painter
- type Path
- func (p *Path) AddPath(o *Path, m Matrix)
- func (p *Path) Arc(cx, cy, rx, ry, rot, a0, a1 float64, ccw bool)
- func (p *Path) Bounds() (Rect, bool)
- func (p *Path) Clone() *Path
- func (p *Path) Close()
- func (p *Path) CubicTo(c1x, c1y, c2x, c2y, x, y float64)
- func (p *Path) Current() (Pt, bool)
- func (p *Path) Ellipse(cx, cy, rx, ry float64)
- func (p *Path) Empty() bool
- func (p *Path) Flatten(tol float64) []Subpath
- func (p *Path) LineTo(x, y float64)
- func (p *Path) MoveTo(x, y float64)
- func (p *Path) QuadTo(cx, cy, x, y float64)
- func (p *Path) Rect(x, y, w, h float64)
- func (p *Path) RoundRect(r Rect, rad [4][2]float64)
- func (p *Path) Transform(m Matrix) *Path
- type Pattern
- type Pt
- type Quality
- type Rect
- type Shader
- type Shaped
- type StrokeStyle
- type Subpath
- type Surface
- func (s *Surface) Clear()
- func (s *Surface) Clone() *Surface
- func (s *Surface) ColorAt(x, y int) color.NRGBA
- func (s *Surface) H() int
- func (s *Surface) Image() *image.RGBA
- func (s *Surface) Row(y, x0, x1 int) []uint8
- func (s *Surface) SetNRGBA(src []uint8, w, h, dx, dy int)
- func (s *Surface) ToNRGBA() *image.NRGBA
- func (s *Surface) W() int
- type TextMetrics
Constants ¶
This section is empty.
Variables ¶
var ( Black = Color{0, 0, 0, 1} Transparent = Color{} )
Black is opaque black; Transparent is transparent black.
var ( SnapMinOps = 120 // lists shorter than this are cheap enough to repaint SnapStable = 2 // consecutive updates that must share the prefix SnapExtendMin = 2 // a snapshot is moved forward when the stable prefix grows by more than this many ops )
Snapshot tuning (variables so tests can force the snapshot path).
var Identity = Matrix{1, 0, 0, 1, 0, 0}
Identity is the identity transform.
var ParallelBands = true
ParallelBands lets Update repaint the damaged bands concurrently (a variable so tests and benchmarks can compare).
var SnapBuilt, SnapUsed, SnapExtended atomic.Int64
SnapBuilt and SnapUsed count surface snapshots made and repaints that started from one (tests check the snapshot path is exercised).
var StripeRows = 64
StripeRows is the least height of a stripe a tall band is cut into.
Functions ¶
func ApplyFilters ¶
ApplyFilters runs a CSS filter list over s in place (s must already be padded for blur/shadow extents).
Types ¶
type Band ¶
type Band struct{ Y0, Y1, X0, X1 int }
Band is a range of device rows. Band is a range of device rows, and the columns [X0,X1) of them that were repainted (X1 == 0: the whole width, for bands made by Damage).
func Damage ¶
Damage returns the bands of device rows (full surface width) whose pixels can differ between a paint of the old list and one of the new list. ok is false when the lists are too different (or not comparable) for an incremental repaint to pay.
The damage is whole rows on purpose: the scan converter treats a shape that crosses the clip's left or right edge slightly differently from one that does not (the part outside is folded into the edge column), and a full paint shows that only at the real clip edges. Repainting complete rows keeps the horizontal clip identical to a full paint's; clipping vertically is exact.
type Brush ¶
type Brush struct {
Color Color
Gradient *GradientDef
Pattern *Pattern
}
Brush is a fill or stroke source.
type Canvas ¶
type Canvas struct {
Surf *Surface
DPR float64
Env PaintEnv
Info *ListInfo
// contains filtered or unexported fields
}
Canvas holds the pixels of the last paint and the analysis of its list.
It can also hold a snapshot of the surface as it was after the first snapN ops of the list (the part that rarely changes: backgrounds, the toolbar beneath the field being typed in). While the first snapN ops are unchanged, a repaint starts from the snapshot's rows instead of redrawing everything under the changed ops.
type Color ¶
type Color struct{ R, G, B, A float64 }
Color is a non-premultiplied sRGB color with components in [0,1].
func ParseColor ¶
ParseColor parses any CSS color syntax. currentColor resolves to cur.
type CompositeOp ¶
type CompositeOp int
CompositeOp is a Porter-Duff operator or blend mode.
const ( SourceOver CompositeOp = iota SourceIn SourceOut SourceAtop DestinationOver DestinationIn DestinationOut DestinationAtop Lighter Copy Xor Clear Multiply Screen Overlay Darken Lighten ColorDodge ColorBurn HardLight SoftLight Difference Exclusion Hue Saturation ColorBlend Luminosity Plus // alias of Lighter for CSS plus-lighter )
func ParseOp ¶
func ParseOp(s string) (CompositeOp, bool)
ParseOp maps a canvas globalCompositeOperation / CSS mix-blend-mode name.
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
NewContext creates a context drawing onto a new transparent w x h surface.
func NewContextSurface ¶
NewContextSurface draws onto an existing surface.
func (*Context) BeginLayer ¶
BeginLayer redirects drawing into a transparent offscreen group covering bounds (device space, padded for the filters). Clips active before the layer are applied when EndLayer composites it.
func (*Context) ClearRect ¶
ClearRect makes a rectangle transparent (ignores shadows and compositing).
func (*Context) ClipBounds ¶
ClipBounds returns the current clip's bounding rect.
func (*Context) ClipPathDevice ¶
ClipPathDevice intersects the clip with a device-space path.
func (*Context) ClipRoundRect ¶
ClipRoundRect intersects the clip with a rounded rectangle.
func (*Context) DrawImage ¶
DrawImage draws the source rectangle (sx,sy,sw,sh) of img into the destination rectangle (dx,dy,dw,dh) in user space, using the context's smoothing, alpha, shadow, filter, composite op and clip.
func (*Context) DrawSurface ¶
func (c *Context) DrawSurface(s *Surface, op CompositeOp, alpha float64)
DrawSurface composites a whole surface at (x,y) device pixels using the current alpha, op and clip, ignoring the transform.
func (*Context) EndLayer ¶
func (c *Context) EndLayer(opacity float64, op CompositeOp)
EndLayer composites the innermost layer back with opacity and blend op.
func (*Context) FillPathDevice ¶
FillPathDevice fills a path already in device space.
func (*Context) FillPathShader ¶
FillPathShader fills p (user space) with an explicit shader.
func (*Context) FillRectShader ¶
FillRectShader fills a rectangle with an explicit shader.
func (*Context) GetImageData ¶
GetImageData returns straight-alpha RGBA bytes for a device rect.
func (*Context) GlobalAlpha ¶
func (*Context) IsPointInPath ¶
IsPointInPath reports whether the device-space point (x,y) is inside p (p in user space; transformed by the CTM).
func (*Context) IsPointInStroke ¶
IsPointInStroke reports whether (x,y) in device space lies on the stroke of p.
func (*Context) LayerDepth ¶
LayerDepth is the number of open layers.
func (*Context) MapFamilies ¶
MapFamilies rewrites the family names of the current font (web fonts: the owner of the context swaps declared names for their document scope).
func (*Context) MeasureText ¶
func (c *Context) MeasureText(text string) TextMetrics
MeasureText measures text under the context's text state.
func (*Context) Op ¶
func (c *Context) Op() CompositeOp
func (*Context) PutImageData ¶
PutImageData writes straight-alpha pixels (w x h) at (dx,dy) restricted to the dirty rectangle (relative to the image data), replacing destination pixels without compositing, clipping or transforms.
func (*Context) ResetState ¶
func (c *Context) ResetState()
ResetState restores all drawing state to defaults (surface untouched).
func (*Context) SetBaseFontSize ¶
func (*Context) SetDirection ¶
func (*Context) SetFilters ¶
func (*Context) SetFontKerning ¶
func (*Context) SetGlobalAlpha ¶
func (*Context) SetLetterSpacing ¶
func (*Context) SetOp ¶
func (c *Context) SetOp(op CompositeOp)
func (*Context) SetShadow ¶
SetShadow configures the drop shadow (blur is the canvas shadowBlur value).
func (*Context) SetSmoothing ¶
func (*Context) SetStrokeStyle ¶
func (c *Context) SetStrokeStyle(s StrokeStyle)
func (*Context) SetTextAlign ¶
SetTextOptions sets the remaining text attributes.
func (*Context) SetTextBaseline ¶
func (*Context) SetTransform ¶
func (*Context) SetTransformStash ¶
func (c *Context) SetTransformStash()
SetTransformStash is a no-op hook kept for symmetry with layers.
func (*Context) SetWordSpacing ¶
func (*Context) StrokePaint ¶
func (*Context) StrokePath ¶
StrokePath strokes p with the stroke paint and style.
func (*Context) StrokeRect ¶
StrokeRect strokes a rectangle outline.
func (*Context) StrokeStyle ¶
func (c *Context) StrokeStyle() StrokeStyle
func (*Context) StrokeText ¶
StrokeText draws text outlines.
type DashParams ¶
type DashParams struct {
Intervals []float32
Phase float32
InitialLen float32
InitialIndex int
IntervalTotal float32
}
DashParams are the precomputed values of SkDashImpl: the intervals (an even count), the phase reduced into the interval length, the length of the first dash and its index.
func NewDashParams ¶
func NewDashParams(intervals []float32, phase float32) (DashParams, bool)
NewDashParams is SkDashImpl's constructor with CalcDashParameters; ok is false for intervals Skia rejects (negative, odd count after doubling, zero sum, non-finite).
func (DashParams) DashPath ¶
func (d DashParams) DashPath(src *Path, width float32, cap LineCap, resScale float32) (dst *Path, stroked, ok bool)
DashPath applies the dash effect to src for a stroke of the given width and cap (SkDashImpl::onFilterPath with no cull rect). It returns the dashed path and whether the stroke was already applied to it (SkDashPath's special-line case, which turns a butt-capped straight line into the dash rectangles and leaves the paint to fill them). ok is false when Skia leaves the path alone (nothing dashable, or more than a million dashes), in which case the caller strokes src as it is.
type Filter ¶
type Filter struct {
Name string // blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate, sepia, drop-shadow
Args []float64 // blur: [sigma px]; amounts: [fraction]; hue-rotate: [degrees]; drop-shadow: [dx dy blur]
Color Color // drop-shadow
}
Filter is one CSS filter function.
type FilterMode ¶
type FilterMode int
FilterMode selects image sampling.
const ( FilterNearest FilterMode = iota FilterBilinear FilterMipmap // bilinear within the nearest mip level FilterBicubic )
type FontSpec ¶
type FontSpec struct {
Families []string
Size float64
Weight int
Italic bool
SmallCaps bool
Stretch string
}
FontSpec is a parsed CSS font.
type Glyph ¶
type Glyph struct {
R rune
X float64 // pen offset from run origin
Face *font.Face
GID int // glyph id when it is not simply the glyph of R (ligatures)
}
Glyph is a positioned character.
type GradientDef ¶
type GradientDef struct {
Kind GradKind
X0, Y0 float64 // linear start / radial start center / conic center
R0 float64 // radial start radius / conic start angle (radians)
X1, Y1 float64 // linear end / radial end center
R1 float64
Stops []GradStop
Repeat bool // repeating-*-gradient: t wraps
Premul bool // interpolate premultiplied (CSS) instead of straight (canvas)
}
GradientDef describes a gradient in its own coordinate space.
type IRect ¶
type IRect struct{ X0, Y0, X1, Y1 int }
IRect is an integer pixel rectangle [X0,X1) x [Y0,Y1).
type ImageShader ¶
type ImageShader struct {
Img *Surface
RepX, RepY bool
Filter FilterMode
Clamp IRect // sampling window in image pixels (empty = whole image)
EdgeClamp bool // replicate edges instead of transparent outside (drawImage)
// contains filtered or unexported fields
}
ImageShader samples a surface through a transform.
func NewImageShader ¶
func NewImageShader(img *Surface, m Matrix, repX, repY bool, f FilterMode, alpha float64) *ImageShader
NewImageShader samples img where m maps image pixel space to device space.
func (*ImageShader) SetClamp ¶
func (s *ImageShader) SetClamp(r IRect)
SetClamp restricts sampling to a window of image pixels (srcRect semantics).
func (*ImageShader) ShadeRow ¶
func (s *ImageShader) ShadeRow(x, y, n int, dst []uint8)
type ListInfo ¶
type ListInfo struct {
OK bool
Key []uint64 // content + context key per op
Bounds []IRect // device bounds (a group's bounds for push ops)
Pair []int32 // push -> matching pop index (and pop -> push), else -1
Wide []bool // damage touching this op / group must grow to its bounds
Desc []string // op type names (SWEEF_NARROW_DEBUG)
Exact []bool // painting the op under a horizontal clip gives the same pixels as unclipped (see narrow)
Corner []cornerSpan // like Exact, unless the clip edge cuts the curved ends of the op (see cornerZone)
Pre []uint64 // Pre[i] hashes Key[:i]: equal prefixes paint equal intermediate surfaces
Surf IRect
}
ListInfo is the analysis of one display list.
type Mask ¶
Mask is an 8-bit coverage map over Bounds.
func BlurMask ¶
BlurMask returns a copy of m blurred by sigma and offset (dx,dy), expanded as needed and cropped to clip.
func RasterizePolys ¶
RasterizePolys produces a coverage mask of the (implicitly closed) polylines, restricted to clip. Returns nil when nothing is covered.
func StrokeMask ¶
func StrokeMask(p *Path, m Matrix, st StrokeStyle, clip IRect) *Mask
StrokeMask rasterizes the stroke of p (in path space) transformed by m.
func StrokeMaskFx ¶
StrokeMaskFx strokes p (user space) with Skia's stroker and fills the outline, transformed by m, with its analytic anti-aliasing. ok is false for styles it does not cover (dashes, hairlines thinner than a device pixel), where StrokeMask should be used instead.
type Matrix ¶
type Matrix [6]float64
Matrix is an affine transform [a b c d e f]: x' = a*x + c*y + e, y' = b*x + d*y + f.
func (Matrix) IsAxisAligned ¶
IsAxisAligned reports whether m maps axis-aligned rectangles to axis-aligned rectangles (no rotation/skew other than 90 degree turns).
func (Matrix) IsIdentity ¶
IsIdentity reports whether m is the identity.
type PaintEnv ¶
type PaintEnv struct {
// Bitmap returns live pixels for a render.Bitmap op's node (may be nil).
Bitmap func(n *html.Node) image.Image
// Background is painted first; the zero value is transparent. Browsers
// use opaque white for the page canvas.
Background Color
}
PaintEnv supplies resources to Paint.
type Painter ¶
type Painter struct {
// contains filtered or unexported fields
}
Painter executes display lists incrementally.
func NewPainter ¶
NewPainter creates a painter over a new w x h device pixel surface.
func (*Painter) RunRegion ¶
RunRegion executes the ops of list that can reach region (the painter's clip), skipping whole groups that cannot.
func (*Painter) RunRegionFrom ¶
RunRegionFrom is RunRegion for a surface that already shows the result of list[:start]: those ops are not run again, only the clips and transforms that are still open at start are re-established.
type Path ¶
type Path struct {
Cmds []byte // 'M','L','Q','C','Z'
Pts []float64 // 2 per M/L, 4 per Q, 6 per C
// contains filtered or unexported fields
}
Path is a sequence of subpaths made of lines, quadratic and cubic curves. Coordinates are in whatever space the caller chose.
func ParseSVGPath ¶
ParseSVGPath parses an SVG path data string into p.
func (*Path) Arc ¶
Arc adds an elliptical arc (center, radii, rotation, angles in radians), preceded by a connecting line when the path has a current point.
func (*Path) Flatten ¶
Flatten converts the path to polylines. tol is the maximum deviation in the path's own units.
type Rect ¶
type Rect struct{ X, Y, W, H float64 }
Rect is a float rectangle (x, y, w, h).
func (Rect) OutsetBounds ¶
OutsetBounds returns the integer rect that fully contains r.
type Shader ¶
type Shader interface {
// ShadeRow fills dst (len >= 4n) for pixels x..x+n-1 on row y.
ShadeRow(x, y, n int, dst []uint8)
}
Shader produces premultiplied RGBA8 source pixels for device coordinates.
func NewGradientShader ¶
func NewGradientShader(d GradientDef, m Matrix, alpha float64) Shader
NewGradientShader builds a shader; m maps gradient space to device space.
type Shaped ¶
type Shaped struct {
Glyphs []Glyph
Width float64
Fake bool // synthetic bold
Skew bool // synthetic italic
Size float64
Set *faceSet
Lum uint8 // text color luminance, selects the coverage preblend table
}
Shaped is a laid-out run.
func Shape ¶
Shape lays text out with the font spec: pair kerning (when kern) and standard ligatures (when letterSpacing is zero, as in browsers) from the font's OpenType tables, shaped word by word like canvas text in Chromium.
func ShapeDir ¶
func ShapeDir(spec FontSpec, text string, letterSpacing, wordSpacing float64, kern bool, rtl bool) *Shaped
ShapeDir is Shape for a paragraph whose base direction is rtl when set. Text containing right-to-left characters is reordered with the Unicode bidirectional algorithm and Arabic letters take their joined forms; the glyphs of the result are in visual order.
func (*Shaped) FontMetrics ¶
FontMetrics returns the integer-rounded ascent/descent browsers report.
type StrokeStyle ¶
type StrokeStyle struct {
Width float64
Cap LineCap
Join LineJoin
MiterLimit float64
Dash []float64
DashOffset float64
}
StrokeStyle describes a stroke in the path's own coordinate space.
type Subpath ¶
Subpath is a flattened polyline. Smooth[i] marks vertices that lie inside a curve (joins there are smooth regardless of the line-join setting).
func StrokePolys ¶
func StrokePolys(sp []Subpath, st StrokeStyle, tol float64) []Subpath
StrokePolys converts polylines into fill polygons (to be rendered with the non-zero rule).
type Surface ¶
type Surface struct {
R IRect
Stride int // bytes per row
Pix []uint8
// Opaque promises that every pixel has alpha 255 (set by whoever fills the surface, never inferred); it
// lets DrawImage take the fast video path.
Opaque bool
}
Surface is a premultiplied RGBA8 pixel buffer covering R in device space.
func FromRGBAOpaque ¶
FromRGBAOpaque views an image.RGBA whose pixels are all opaque as a surface without copying them: the caller promises not to change the image while the surface is in use.
func NewSurface ¶
NewSurface allocates a transparent surface of size w x h at the origin.
func NewSurfaceRect ¶
NewSurfaceRect allocates a transparent surface covering r.
func RenderSVG ¶
RenderSVG rasterizes an SVG scene into a new w x h surface (device pixels), mapping the root viewBox onto the whole surface. It is the entry point for canvas drawImage() of SVG images.
func (*Surface) Image ¶
Image views the surface as an image.RGBA (premultiplied, bounds at origin 0,0 when the surface origin is 0,0).
func (*Surface) SetNRGBA ¶
SetNRGBA writes non-premultiplied pixels (src, w x h) at (dx, dy) replacing the destination.
Source Files
¶
- backdrop.go
- blend.go
- blur.go
- border_round.go
- clip_path.go
- color.go
- context.go
- filter.go
- geom.go
- image.go
- image_fast.go
- incremental.go
- layer.go
- layer3d.go
- mask.go
- paint.go
- path.go
- rasterizer.go
- scrollbar.go
- shader.go
- skstroke.go
- stroke.go
- surface.go
- svg.go
- svg_clipshape.go
- svg_cssfilter.go
- svg_filter.go
- svg_fx.go
- svg_image.go
- svg_paint.go
- svg_text.go
- svg_textdraw.go
- svg_textlayout.go
- svg_turb.go
- text.go
- text_aaa.go
- text_dash.go
- text_fx.go
- text_fx_bold.go
- text_fx_glyf.go
- text_fx_stroke.go
- text_fx_walk.go
- text_fxcubic.go
- text_lut.go
- text_ss.go
- text_xf.go
- util.go