Table of Contents

Namespace DocWright.Core.Primitives

Classes

AxisScaleMath

The arithmetic of a value axis that does not belong to one chart engine: the axis top a step implies, the projection of a value onto the axis, and the 1/2/5 ladder.

FixedPointMath

Integer fixed-point arithmetic helpers used by all layout math.

ThemeColorMath

The transforms WordprocessingML applies to a theme colour: w:themeTint and w:themeShade modulate luminance in HSL space with the result truncated per channel (WQ-0001: accent 4472C4 with themeTint 99 yields 8EAADB, with themeShade BF yields 2F5496). Here, below layout, so that an edit that recolours a document through its theme writes the same cached colour the resolver draws (Phase 159).

Structs

ColorRgb

A 24-bit RGB color, or the special Word "auto" color (ECMA-376 Part 1 §17.18.40 ST_HexColor: either the literal auto or a six-digit hex triplet with no leading '#').

Emu

A length in English Metric Units (EMU), the unit DrawingML uses for image and shape extents. 914400 EMU = 1 inch; 12700 EMU = 1 point; 635 EMU = 1 twip.

PageRange

An inclusive, 1-based selection of page numbers. The default value is All.

Twips

A length in twips (twentieths of a typographic point), the integer unit used for all DocWright layout arithmetic. 1 point = 20 twips; 1 inch = 1440 twips.