pub trait FontdueRenderTarget {
// Required methods
fn dimensions(&self) -> (usize, usize);
fn blend_pixel(&mut self, x: i32, y: i32, color: Color, alpha: u8);
}
Expand description
Surface that can blend individual pixels for text rendering.
Required Methods§
Sourcefn dimensions(&self) -> (usize, usize)
fn dimensions(&self) -> (usize, usize)
Return the width and height of the render surface in pixels.