Struct nanovg::ImageBuilder [] [src]

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

Methods

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

[src]

Get the underlying context this ImageBuilder was created on.

[src]

Create mipmaps during the creation of the image.

[src]

Repeat the image on the X axis.

[src]

Repeat the image on the Y axis.

[src]

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

[src]

The image data contains premultiplied alpha.

[src]

Use nearest interpolation instead of linear.

[src]

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

[src]

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

[src]

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

Trait Implementations

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

[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>