Struct pdf_writer::writers::ExtGraphicsState[][src]

pub struct ExtGraphicsState<'a> { /* fields omitted */ }
Expand description

Writer for a dictionary with additional parameters for the graphics state.

This struct is created by PdfWriter::ext_graphics and ShadingPattern::ext_graphics.

Implementations

LW: Set the line width. PDF 1.3+.

LC: Set the line cap style. PDF 1.3+.

LJ: Set the line join style. PDF 1.3+.

ML: Set the miter limit. PDF 1.3+.

D: Set the dash pattern. PDF 1.3+.

RI: Set the rendering intent. PDF 1.3+.

OP: Set the overprint mode for all operations, except if an op entry is present. If so, only influence the stroking operations. PDF 1.2+.

op: Set the overprint mode for fill operations. PDF 1.3+.

Font: Set the font. PDF 1.3+.

BG: Set the black generation function.

BG2: Set the black-generation function back to the function that has been in effect at the beginning of the page. PDF 1.3+.

UCR: Set the undercolor removal function.

UCR2: Set the undercolor removal function back to the function that has been in effect at the beginning of the page. PDF 1.3+.

TR: Set the transfer function.

TR2: Set the transfer function back to the function that has been in effect at the beginning of the page. PDF 1.3+.

HT: Set the halftone.

HT: Set the halftone back to the halftone that has been in effect at the beginning of the page.

FL: Set the flatness tolerance. PDF 1.3+.

SM: Set the smoothness tolerance. PDF 1.3+.

SA: Set automatic stroke adjustment.

BM: Set the blend mode. PDF 1.4+.

SMask: Set the soft mask using a dictionary. PDF 1.4+.

SMask: Set the soft mask using a name. PDF 1.4+.

CA: Set the stroking alpha constant. PDF 1.4+.

ca: Set the non-stroking alpha constant. PDF 1.4+.

AIS: Set the alpha source flag. CA and ca values as well as the SMask will be interpreted as shape instead of opacity. PDF 1.4+.

TK: Set the text knockout flag. PDF 1.4+.

Methods from Deref<Target = Dict<'a>>

The number of written pairs.

Start writing a pair with an arbitrary value.

Write a pair with a primitive value.

This is a shorthand for dict.insert(key).primitive(value).

Write a sequence of pairs with primitive values.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Start writing the object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.