Drawing
View as MarkdownThese samples demonstrate drawing primitives, text, and images using brushes and pens, and working with paths, clipping, and transformations.
Clipping Paths
Applying clipping paths and masks to confine drawing and compositing to regions.
Drawing Images
Compositing, scaling, and blending images with filtering and alpha control.
Drawing Primitives
Rendering lines, shapes, fills, strokes, and gradients via the drawing API.
Paths
Building and editing vector paths: tracing outlines from raster images, offsetting, outlining strokes, smoothing, and combining shapes with boolean operations.
Transform
Applying affine transforms (translate, rotate, scale, skew) to images and vectors.