Skip to main content

Module device

Module device 

Source
Expand description

Output device parameter types — pure data structures for rendering operations.

Structs§

AxialShadingParams
Parameters for axial (linear) gradient shading (Type 2).
BgUcrState
Pre-sampled black generation / undercolor removal state for PDF output.
ClipParams
Parameters for clipping.
ColorStop
A single color stop in a gradient.
FillParams
Parameters for filling a path.
HalftoneScreen
A pre-computed halftone screen for PDF output.
HalftoneState
Pre-computed halftone state captured at paint time.
ImageParams
Parameters for drawing an image.
MeshShadingParams
Parameters for Gouraud-shaded triangle mesh shading (Types 4 & 5).
PatchShadingParams
Parameters for Coons/tensor-product patch mesh shading (Types 6 & 7).
PatternFillParams
Parameters for a tiled pattern fill.
RadialShadingParams
Parameters for radial gradient shading (Type 3).
ShadingPatch
A patch in a Coons or tensor-product patch mesh.
ShadingTriangle
A triangle in a shading mesh.
ShadingVertex
A vertex in a shading triangle mesh.
SpotColor
Native Separation/DeviceN color info for PDF output.
StrokeParams
Parameters for stroking a path.
TextParams
Parameters for a text element emitted by show operators.
TintLookupTable
Pre-sampled tint transform: maps input tint values to alt-space components.
TransferState
Transfer function state captured at paint time.

Enums§

ImageColorSpace
VM-free color space enum for images stored in the display list.
ShadingColorSpace
Color space carried through the display list for native shading output.
SimpleColorSpace
Simple device color space for alt-space references.
SpotColorSpace
Separation or DeviceN color space with pre-sampled tint function.

Constants§

CMYK_ALL
CMYK_C
Bitmask of CMYK channels painted by an overprint operation. Bits: 0=Cyan, 1=Magenta, 2=Yellow, 3=Black.
CMYK_K
CMYK_M
CMYK_Y

Traits§

PageSink
Trait for consuming rendered page pixel data.
PageSinkFactory
Factory for creating per-page sinks.

Functions§

cmyk_channel_for_name
Map a CMYK process color name to its channel bit.

Type Aliases§

TransferTable
Pre-sampled transfer function (256 samples, domain [0,1] → range [0,1]). Arc for cheap clone across display list elements.