Struct orbclient::Window[][src]

pub struct Window { /* fields omitted */ }

A window

Methods

impl Window
[src]

Create a new window

Create a new window with flags

Get x

Get y

Get title

Set title

Important traits for EventIter

Blocking iterator over events

Trait Implementations

impl Renderer for Window
[src]

Get width

Get height

Access pixel buffer

Access pixel buffer mutably

Flip the window buffer

Set/get mode

Draw a pixel

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

Draw a circle. Negative radius will fill in the inside

Draw a line

Draw a path (GraphicsPath)

Draw a character, using the loaded font

Set entire window to a color

Sets the whole window to black

Display an image

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

Display an image using non transparent method

Render an image using parallel threads if possible

Draw a linear gradient in a rectangular region

Draw a rect with rounded corners

Draws antialiased line

Draws antialiased circle

Gets pixel color at x,y position

Auto Trait Implementations

impl !Send for Window

impl !Sync for Window