pub struct PatternData {
pub pattern_type: i32,
pub paint_type: i32,
pub tiling_type: i32,
pub bbox: [f64; 4],
pub xstep: f64,
pub ystep: f64,
pub pattern_matrix: Matrix,
pub cached_display_list: DisplayList,
}Expand description
Pattern instance data created by makepattern.
Fields§
§pattern_type: i32Pattern type: 1 = tiling, 2 = shading.
paint_type: i32Paint type: 1 = colored, 2 = uncolored.
tiling_type: i32Tiling type: 1 = constant spacing, 2 = no distortion, 3 = fast.
bbox: [f64; 4]Bounding box [llx, lly, urx, ury] in pattern space.
xstep: f64X step between tile origins.
ystep: f64Y step between tile origins.
pattern_matrix: MatrixCombined matrix: matrix_arg × CTM at makepattern time.
cached_display_list: DisplayListPre-rendered display list from executing PaintProc.
Trait Implementations§
Source§impl Clone for PatternData
impl Clone for PatternData
Source§fn clone(&self) -> PatternData
fn clone(&self) -> PatternData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§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 PatternData
impl RefUnwindSafe for PatternData
impl Send for PatternData
impl Sync for PatternData
impl Unpin for PatternData
impl UnsafeUnpin for PatternData
impl UnwindSafe for PatternData
Blanket Implementations§
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