Table of Contents

Namespace PdfEngine.Vector

Classes

BeginCompositingGroup

Begins a group composited as a unit with the parent: group alpha, blend mode and soft mask (ISO 32000-2 11.4, 11.6). Objects painted under a non-Normal blend mode or a soft mask are wrapped in a group of their own, which is the specified semantics for a single object. Backends that cannot composite these must report the group's bounds as fallback.

BeginTransparencyGroup

Begins an isolated/knockout transparency group.

ConcatTransform

Concatenates a matrix into the current transformation matrix (cm).

DrawFallbackRegion

Draws a bounded fallback region resolved by the fallback provider.

DrawGlyphRun

Draws a run of positioned glyphs preserving original font identity and coordinates.

DrawImage

Draws an embedded bitmap image transformed by the current CTM and image matrix.

DrawShading

Draws a smooth shading (axial or radial gradient) filling the bounds or current clip.

DrawTilingPattern

Fills the current clip with a tiling pattern. The current user space is pattern space; the bounds are the painted area in page space.

EndCompositingGroup

Ends the innermost BeginCompositingGroup.

EndTransparencyGroup

Ends a transparency group and composites it onto the parent surface.

FillPath

Fills a vector path with the specified paint and fill rule.

PdfAxialShading

Type 2 Axial (Linear) Shading defined along an axis between two points.

PdfCloseSubpath
PdfCubicBezierTo
PdfDecodedImage

Decoded image pixels plus an optional separate alpha plane (SMask / Mask).

PdfDisplayList

Canonical implementation of immutable display list.

PdfDrawCommand

Base class for all immutable drawing commands within a PDF display list.

PdfFallbackToken

Stable token identifying a region requiring fallback rendering. Contains no PDFium types or handles.

PdfFontFace

Backend-neutral identity of the font used by a glyph run. Carries the embedded program so a backend can render the author's glyphs; carries style hints for substitution when it cannot.

PdfFunctionShading

Type 1 function-based shading (ISO 32000-2 8.7.4.5.2): colour = f(x, y) over Domain in shading space, mapped to the current user space by Matrix. Evaluate returns the RGB colour (alpha 0 outside the domain).

PdfGlyph

Individual positioned glyph in a glyph run.

PdfGlyphRun

Glyph run preserving exact PDF positioning, font identity, and text matrix.

PdfImageRef

Reference to an embedded image or image XObject.

PdfJpegMask

A JPEG-compressed soft mask (/SMask with /DCTDecode): its gray samples are alpha. Backends decode Data with their JPEG codec and pass the pixels to ToAlpha(ReadOnlySpan<byte>, int, int).

PdfLineTo
PdfMeshPatch

A tensor-product patch (types 6 and 7): 16 control points indexed [i * 4 + j] with u along i and v along j (p00 = u 0 v 0, p03 = u 0 v 1, p30 = u 1 v 0), and corner values in the order c00, c03, c33, c30 (8.7.4.5.7). Coons patches arrive with their interior points computed.

PdfMeshShading

Free-form, lattice and patch mesh shadings (types 4–7). Triangles are consecutive vertex triples, Gouraud-shaded; patches are subdivided by the backend at device resolution. When FunctionLut is set, the parametric value is interpolated and then mapped through the table (t normalised to 0..1 over /Domain), as the specification requires.

PdfMoveTo
PdfPaint

Paint specification for fills and strokes.

PdfPath

Immutable vector path representation preserving exact Bézier curves and lines.

PdfPathSegment

Segments forming a vector path.

PdfRadialShading

Type 3 Radial Shading defined between two circles with centers and radii.

PdfShading

Base record for smooth shading specifications (ISO 32000-2 Clause 8.7).

PdfSoftMask

A soft mask (ISO 32000-2 11.6.5.2): the mask group's content, recorded as its own display list in the user space in effect when the ExtGState was set, plus how its values become alpha.

PdfStroke

Stroke parameters for path stroking.

PdfTilingPattern

A tiling pattern (ISO 32000-2 8.7.3): one cell recorded as its own display list in pattern space (already clipped to BBox), repeated every XStep × YStep. Uncoloured patterns carry their colour baked into the cell.

PopClip

Pops a clipping path from the clip stack (via Q or explicit restore).

PushClip
PushStrokeClip

Pushes a clipping path onto the clip stack (W / W*).

PushTextClip

Intersects the clip with the outlines of glyph runs (text rendering modes 4–7 at ET, and pattern-filled text). Runs are in the current user space. Popped like PushClip.

RestoreState

Pops graphics state from the graphics state stack (Q).

SaveState

Pushes graphics state onto the graphics state stack (q).

StrokePath

Strokes a vector path with the specified stroke and paint.

Structs

PdfColor

Color representation in PDF vector operations, normalized to [0.0, 1.0].

PdfGradientStop

Gradient colour stop.

PdfMeshVertex

A mesh vertex in shading (user) space: its RGB colour, or its parametric value when the mesh has a FunctionLut.

Interfaces

IPdfDisplayList

Immutable, device-independent display list representing all vector graphics on a PDF page. Replayable at any zoom level, DPI, or rotation transform.

IPdfFallbackProvider

Contract for rendering fallback regions (e.g. via PDFium adapter or offscreen rasterizer).

IPdfImageSource

Lazy, cacheable producer of image pixels. Implementations must be thread-safe.

IPdfVectorDocument

Extended document interface exposing vector display lists.

IPdfVectorRenderer

Renderer capable of replaying an immutable vector display list to raster or native surfaces.

Enums

PdfBlendMode

PDF blend modes (ISO 32000-2 11.3.5, Tables 134–135).

PdfDecodedImageFormat

Pixel layout of a decoded image.

PdfEngineMode

Operational mode for PDF processing and rendering.

PdfFallbackReason

Classified reason why a PDF construct or region requires fallback rendering. Never use free-form strings for fallback decisions.

PdfFeatureSet

Classified features encountered during page interpretation.

PdfFillRule

Fill rule for path rasterization/tessellation.

PdfFontProgramFormat

Font program container format a backend may load directly.

PdfLineCap

Line cap styles matching PDF specification (ISO 32000-2 Table 106).

PdfLineJoin

Line join styles matching PDF specification (ISO 32000-2 Table 107).