Struct orbimage::Image [] [src]

pub struct Image { /* fields omitted */ }

Methods

impl Image
[src]

[src]

Create a new image

[src]

Create a new image filled whole with color

[src]

Create a new image from a boxed slice of colors

[src]

Load an image from file path. Supports BMP and PNG

[src]

Create a new empty image

[src]

[src]

Get a piece of the image

[src]

Return a boxed slice of colors making up the image

[src]

Draw the image on a window

Trait Implementations

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Renderer for Image
[src]

[src]

Get the width of the image in pixels

[src]

Get the height of the image in pixels

[src]

Return a reference to a slice of colors making up the image

[src]

Return a mutable reference to a slice of colors making up the image

[src]

Flip the buffer

[src]

Set/get drawing mode

[src]

Draw a pixel

[src]

Draw a piece of an arc. Negative radius will fill in the inside

[src]

Draw a circle. Negative radius will fill in the inside

[src]

[src]

Draw a line

[src]

[src]

Draw a path (GraphicsPath)

[src]

Draw a character, using the loaded font

[src]

Set entire window to a color

[src]

Sets the whole window to black

[src]

[src]

Display an image

[src]

[src]

Display an image overwriting a portion of window starting at given line : very quick!!

[src]

Display an image using non transparent method

[src]

[src]

Render an image using parallel threads if possible

[src]

Draw a linear gradient in a rectangular region

[src]

Draw a rect with rounded corners

[src]

Draws antialiased line

[src]

Draws antialiased circle

[src]

Gets pixel color at x,y position