Struct nanovg::ImageBuilder[][src]

pub struct ImageBuilder<'a> { /* fields omitted */ }

Methods

impl<'a> ImageBuilder<'a>
[src]

Get the underlying context this ImageBuilder was created on.

Create mipmaps during the creation of the image.

Repeat the image on the X axis.

Repeat the image on the Y axis.

Flip (invert) the image in the Y direction during rendering.

The image data contains premultiplied alpha.

Use nearest interpolation instead of linear.

Construct the image by loading it from an image file on the file system.

Construct the image by loading it from an image file in memory.

Construct the image by filling it with pixel data from memory (always 32bit RGBA).

Trait Implementations

impl<'a> Debug for ImageBuilder<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for ImageBuilder<'a>

impl<'a> !Sync for ImageBuilder<'a>