[][src]Trait webrender_api::BlobImageResources

pub trait BlobImageResources {
    fn get_font_data(&self, key: FontKey) -> &FontTemplate;
fn get_font_instance_data(
        &self,
        key: FontInstanceKey
    ) -> Option<FontInstanceData>;
fn get_image(&self, key: ImageKey) -> Option<(&ImageData, &ImageDescriptor)>; }

The resources exposed by the resource cache available for use by the blob rasterizer.

Required Methods

Returns the FontTemplate for the given key.

Returns the FontInstanceData for the given key, if found.

Returns the image metadata and backing store for the given key, if found.

Implementors