pub enum ContentOperator {
Show 73 variants
BeginText,
EndText,
SetCharSpace(f64),
SetWordSpace(f64),
SetHorizontalScale(f64),
SetLeading(f64),
SetFont(String, f64),
SetTextRenderMode(i32),
SetTextRise(f64),
MoveText(f64, f64),
MoveTextNextLine,
SetTextMatrix(f64, f64, f64, f64, f64, f64),
ShowText(Vec<u8>),
ShowTextArray(Vec<TextArrayElement>),
ShowTextNextLine(Vec<u8>),
ShowTextWithSpacing(f64, f64, Vec<u8>),
MoveTo(f64, f64),
LineTo(f64, f64),
CurveTo(f64, f64, f64, f64, f64, f64),
CurveToV(f64, f64, f64, f64),
CurveToY(f64, f64, f64, f64),
ClosePath,
Rectangle(f64, f64, f64, f64),
Stroke,
CloseAndStroke,
Fill,
FillEvenOdd,
FillAndStroke,
FillAndStrokeEvenOdd,
CloseFillAndStroke,
CloseFillAndStrokeEvenOdd,
EndPath,
Clip,
ClipEvenOdd,
SetLineWidth(f64),
SetLineCap(i32),
SetLineJoin(i32),
SetMiterLimit(f64),
SetDashPattern(Vec<f64>, f64),
SetRenderingIntent(String),
SetFlatness(f64),
Save,
Restore,
SetMatrix(f64, f64, f64, f64, f64, f64),
BeginMarkedContent(String),
BeginMarkedContentWithProps(String, MarkedContentProps),
EndMarkedContent,
SetColorSpace(String),
SetStrokingColorSpace(String),
SetColor(Vec<f64>),
SetStrokingColor(Vec<f64>),
SetColorN(Vec<f64>, Option<String>),
SetStrokingColorN(Vec<f64>, Option<String>),
SetGrayLevel(f64),
SetStrokingGrayLevel(f64),
SetRGBColor(f64, f64, f64),
SetStrokingRGBColor(f64, f64, f64),
SetCMYKColor(f64, f64, f64, f64),
SetStrokingCMYKColor(f64, f64, f64, f64),
PaintXObject(String),
PaintShading(String),
BeginInlineImage,
InlineImageData(InlineImageInfo),
EndInlineImage,
SetGraphicsStateParams(String),
PaintPattern(String),
BeginShadingPattern(PatternInfo),
EndShadingPattern,
SetCharWidth(f64, f64),
SetCacheDevice(f64, f64, f64, f64, f64, f64),
BeginCompatibilitySection,
EndCompatibilitySection,
Unknown(String, Vec<Operand>),
}Variants§
BeginText
EndText
SetCharSpace(f64)
SetWordSpace(f64)
SetHorizontalScale(f64)
SetLeading(f64)
SetFont(String, f64)
SetTextRenderMode(i32)
SetTextRise(f64)
MoveText(f64, f64)
MoveTextNextLine
SetTextMatrix(f64, f64, f64, f64, f64, f64)
ShowText(Vec<u8>)
ShowTextArray(Vec<TextArrayElement>)
ShowTextNextLine(Vec<u8>)
ShowTextWithSpacing(f64, f64, Vec<u8>)
MoveTo(f64, f64)
LineTo(f64, f64)
CurveTo(f64, f64, f64, f64, f64, f64)
CurveToV(f64, f64, f64, f64)
CurveToY(f64, f64, f64, f64)
ClosePath
Rectangle(f64, f64, f64, f64)
Stroke
CloseAndStroke
Fill
FillEvenOdd
FillAndStroke
FillAndStrokeEvenOdd
CloseFillAndStroke
CloseFillAndStrokeEvenOdd
EndPath
Clip
ClipEvenOdd
SetLineWidth(f64)
SetLineCap(i32)
SetLineJoin(i32)
SetMiterLimit(f64)
SetDashPattern(Vec<f64>, f64)
SetRenderingIntent(String)
SetFlatness(f64)
Save
Restore
SetMatrix(f64, f64, f64, f64, f64, f64)
BeginMarkedContent(String)
BeginMarkedContentWithProps(String, MarkedContentProps)
EndMarkedContent
SetColorSpace(String)
SetStrokingColorSpace(String)
SetColor(Vec<f64>)
SetStrokingColor(Vec<f64>)
SetColorN(Vec<f64>, Option<String>)
SetStrokingColorN(Vec<f64>, Option<String>)
SetGrayLevel(f64)
SetStrokingGrayLevel(f64)
SetRGBColor(f64, f64, f64)
SetStrokingRGBColor(f64, f64, f64)
SetCMYKColor(f64, f64, f64, f64)
SetStrokingCMYKColor(f64, f64, f64, f64)
PaintXObject(String)
PaintShading(String)
BeginInlineImage
InlineImageData(InlineImageInfo)
EndInlineImage
SetGraphicsStateParams(String)
PaintPattern(String)
BeginShadingPattern(PatternInfo)
EndShadingPattern
SetCharWidth(f64, f64)
SetCacheDevice(f64, f64, f64, f64, f64, f64)
BeginCompatibilitySection
EndCompatibilitySection
Unknown(String, Vec<Operand>)
Trait Implementations§
Source§impl Clone for ContentOperator
impl Clone for ContentOperator
Source§fn clone(&self) -> ContentOperator
fn clone(&self) -> ContentOperator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentOperator
impl Debug for ContentOperator
Source§impl PartialEq for ContentOperator
impl PartialEq for ContentOperator
impl StructuralPartialEq for ContentOperator
Auto Trait Implementations§
impl Freeze for ContentOperator
impl RefUnwindSafe for ContentOperator
impl Send for ContentOperator
impl Sync for ContentOperator
impl Unpin for ContentOperator
impl UnwindSafe for ContentOperator
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more