[−][src]Trait mochi::MochiCairoExt
Required methods
fn clear(&self, r: f64, g: f64, b: f64)
fn draw_image_centered(&self, x: f64, y: f64, img: &ImageSurface)
fn draw_subimage_centered(
&self,
x: f64,
y: f64,
img: &ImageSurface,
sx: f64,
sy: f64,
sw: f64,
sh: f64
)
&self,
x: f64,
y: f64,
img: &ImageSurface,
sx: f64,
sy: f64,
sw: f64,
sh: f64
)
fn draw_atlas_frame_centered(&self, x: f64, y: f64, img: &Atlas, frame: usize)
Implementations on Foreign Types
impl MochiCairoExt for Context
[src]
fn clear(&self, r: f64, g: f64, b: f64)
[src]
fn draw_image_centered(&self, x: f64, y: f64, img: &ImageSurface)
[src]
fn draw_subimage_centered(
&self,
x: f64,
y: f64,
img: &ImageSurface,
sx: f64,
sy: f64,
sw: f64,
sh: f64
)
[src]
&self,
x: f64,
y: f64,
img: &ImageSurface,
sx: f64,
sy: f64,
sw: f64,
sh: f64
)