Struct quicksilver::graphics::Camera
[−]
[src]
pub struct Camera { /* fields omitted */ }
A Camera that projects drawn items onto the screen
Methods
impl Camera
[src]
fn new(world: Rectangle) -> Camera
[src]
Create a camera that maps a given area to the screen
fn new_transformed(world: Rectangle, transform: Transform) -> Camera
[src]
Create a camera that maps a given area to the screen with the given transformation
Trait Implementations
impl Clone for Camera
[src]
fn clone(&self) -> Camera
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more