Struct cairo::Region
[−]
[src]
pub struct Region(_, _);
Methods
impl Region[src]
fn create() -> Region[src]
fn create_rectangle(rectangle: &RectangleInt) -> Region[src]
fn copy(&self) -> Region[src]
fn status(&self) -> Status[src]
fn get_extents(&self, rectangle: &mut RectangleInt)[src]
fn num_rectangles(&self) -> i32[src]
fn get_rectangle(&self, nth: i32) -> RectangleInt[src]
fn is_empty(&self) -> bool[src]
fn contains_point(&self, x: i32, y: i32) -> bool[src]
fn contains_rectangle(&self, rectangle: &RectangleInt) -> RegionOverlap[src]
fn translate(&self, dx: i32, dy: i32)[src]
fn intersect(&self, other: &Region) -> Status[src]
fn intersect_rectangle(&self, rectangle: &RectangleInt) -> Status[src]
fn subtract(&self, other: &Region) -> Status[src]
fn subtract_rectangle(&self, rectangle: &RectangleInt) -> Status[src]
fn union(&self, other: &Region) -> Status[src]
fn union_rectangle(&self, rectangle: &RectangleInt) -> Status[src]
fn xor(&self, other: &Region) -> Status[src]
fn xor_rectangle(&self, rectangle: &RectangleInt) -> Status[src]
Trait Implementations
impl AsRef<Region> for Region[src]
impl Clone for Region[src]
fn clone(&self) -> Region[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