Struct sciter::types::RECT
[−]
[src]
#[repr(C)]pub struct RECT { pub left: LONG, pub top: LONG, pub right: LONG, pub bottom: LONG, }
Fields
left: LONG
top: LONG
right: LONG
bottom: LONG
Methods
impl RECT
[src]
pub fn height(&self) -> LONG
[src]
Calculate height of rect.
pub fn width(&self) -> LONG
[src]
Calculate width of rect.
pub fn size(&self) -> SIZE
[src]
Return the size of rect in width and height form.
pub fn topleft(&self) -> POINT
[src]
Returns the top-left point of rect.