Struct ilmenite::raster::ImtRaster [−][src]
pub struct ImtRaster { /* fields omitted */ }
Implementations
pub fn new_gpu(
device: Arc<Device>,
queue: Arc<Queue>,
opts: ImtRasterOpts
) -> Result<Self, ImtError>
pub fn raster_shaped_glyphs(
&self,
parser: &ImtParser,
text_height: f32,
shaped_glyphs: Vec<ImtShapedGlyph>
) -> Result<Vec<ImtRasteredGlyph>, ImtError>
Auto Trait Implementations
impl !RefUnwindSafe for ImtRaster
impl !UnwindSafe for ImtRaster
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.