Struct usvg_tree::filter::ConvolveMatrixData
source · pub struct ConvolveMatrixData {
pub target_x: u32,
pub target_y: u32,
pub columns: u32,
pub rows: u32,
pub data: Vec<f64>,
}
Expand description
A convolve matrix representation.
Used primarily by ConvolveMatrix
.
Fields§
§target_x: u32
Returns a matrix’s X target.
targetX
in the SVG.
target_y: u32
Returns a matrix’s Y target.
targetY
in the SVG.
columns: u32
Returns a number of columns in the matrix.
Part of the order
attribute in the SVG.
rows: u32
Returns a number of rows in the matrix.
Part of the order
attribute in the SVG.
data: Vec<f64>
The actual matrix.
Implementations§
Trait Implementations§
source§impl Clone for ConvolveMatrixData
impl Clone for ConvolveMatrixData
source§fn clone(&self) -> ConvolveMatrixData
fn clone(&self) -> ConvolveMatrixData
Returns a copy 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 more