Struct cairo::Mesh
[−]
[src]
pub struct Mesh { /* fields omitted */ }
Methods
impl Mesh
[src]
impl Mesh
[src]
fn new() -> Mesh
fn begin_patch(&self)
fn end_patch(&self)
fn move_to(&self, x: f64, y: f64)
fn line_to(&self, x: f64, y: f64)
fn curve_to(&self, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)
fn set_control_point(&self, corner: MeshCorner, x: f64, y: f64)
fn get_control_point(&self, patch_num: usize, corner: MeshCorner) -> (f64, f64)
fn set_corner_color_rgb(
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64
)
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64
)
fn set_corner_color_rgba(
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64,
alpha: f64
)
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64,
alpha: f64
)
fn get_corner_color_rgba(
&self,
patch_num: usize,
corner: MeshCorner
) -> (f64, f64, f64, f64)
&self,
patch_num: usize,
corner: MeshCorner
) -> (f64, f64, f64, f64)