pub enum ContentStreamOp {
BT,
ET,
Tm(i32, i32, i32, i32, i32, i32),
Tj(Vec<u8>),
Re(i32, i32, i32, i32),
F,
Rg(i32, i32, i32),
Cm(i32, i32, i32, i32, i32, i32),
Td(i32, i32),
Tf(String, i32),
}Expand description
A parsed content stream operation.
Variants§
BT
Begin text object.
ET
End text object.
Tm(i32, i32, i32, i32, i32, i32)
Set text matrix: a, b, c, d, e, f (integer, 1000ths).
Tj(Vec<u8>)
Show text string.
Re(i32, i32, i32, i32)
Draw rectangle: x, y, w, h (integer points).
F
Fill path.
Rg(i32, i32, i32)
Set non-stroking colour (RGB, 0-1000 each — milli-units).
Cm(i32, i32, i32, i32, i32, i32)
Concatenate matrix.
Td(i32, i32)
Move to next line and set leading.
Tf(String, i32)
Set font and size.
Trait Implementations§
Source§impl Clone for ContentStreamOp
impl Clone for ContentStreamOp
Source§fn clone(&self) -> ContentStreamOp
fn clone(&self) -> ContentStreamOp
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContentStreamOp
impl RefUnwindSafe for ContentStreamOp
impl Send for ContentStreamOp
impl Sync for ContentStreamOp
impl Unpin for ContentStreamOp
impl UnwindSafe for ContentStreamOp
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)