Pyro higlevel API
|
Public Member Functions | |
Rect () | |
Rect (float l, float t, float r, float b) | |
Rect (const Point &cMin, const Point &cMax) | |
Rect (const IRect &cRect) | |
~Rect () | |
Rect | Scale (const Point &cFromScale, const Point &cToScale) |
bool | IsValid () const |
void | Invalidate (void) |
bool | DoIntersect (const Point &cPoint) const |
bool | DoIntersect (const Rect &cRect) const |
bool | Includes (const Rect &cRect) const |
float | Width (void) const |
float | Height (void) const |
Point | Size () const |
Point | LeftTop () const |
Point | RightBottom () const |
Rect | Bounds (void) const |
Rect & | Floor (void) |
Rect & | Ceil (void) |
Rect & | Resize (float nLeft, float nTop, float nRight, float nBottom) |
Rect & | MoveTo (float nLeft, float nTop) |
Rect | operator+ (const Point &cPoint) const |
Rect | operator- (const Point &cPoint) const |
Point | operator+ (const Rect &cRect) const |
Point | operator- (const Rect &cRect) const |
Rect | operator& (const Rect &cRect) const |
void | operator&= (const Rect &cRect) |
Rect | operator| (const Rect &cRect) const |
void | operator|= (const Rect &cRect) |
Rect | operator| (const Point &cPoint) const |
void | operator|= (const Point &cPoint) |
void | operator+= (const Point &cPoint) |
void | operator-= (const Point &cPoint) |
bool | operator== (const Rect &cRect) const |
bool | operator!= (const Rect &cRect) const |
Public Attributes | |
float | left |
float | top |
float | right |
float | bottom |
|
inline |
|
inline |
References os::Point::x, and os::Point::y.
|
inline |
References os::IRect::bottom, os::IRect::left, os::IRect::right, and os::IRect::top.
|
inline |
|
inline |
|
inline |
|
inline |
References os::Point::x, and os::Point::y.
Referenced by os::IconView::Private::DeselectAll(), os::IconDirectoryView::DragSelection(), os::Menu::GetItemAt(), os::TreeViewCheckNode::HitTest(), os::CheckRow::HitTest(), os::TreeViewNode::HitTest(), os::IconView::Private::HitTest(), os::Button::MouseDown(), os::ScrollBar::MouseDown(), os::Spinner::MouseDown(), os::ScrollBar::MouseMove(), os::IconDirectoryView::MouseMove(), os::ScrollBar::MouseUp(), os::IconDirectoryView::MouseUp(), os::IconView::MainView::Paint(), and os::IconView::ScrollToIcon().
|
inline |
|
inline |
Referenced by os::Splitter::AdjustLayout(), os::TabView::DeleteTab(), os::View::DrawFrame(), os::TabView::FrameSized(), os::Slider::GetSliderFrame(), os::TabView::InsertTab(), os::HLayoutNode::Layout(), os::VLayoutNode::Layout(), os::FrameView::Paint(), os::TabView::Paint(), os::LayoutNode::SetFrame(), and os::TabView::SetSelection().
|
inline |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::TreeViewNode::_ExpanderCrossPos(), os::Splitter::AdjustLayout(), os::IconView::Private::AdjustScrollBars(), os::BitmapImage::AlphaToOverlay(), os::Window::CenterInScreen(), os::Window::CenterInWindow(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), os::BitmapImage::ColorizeFilter(), os::RadioMenuItem::Draw(), os::CheckMenu::Draw(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::TextEdit::DrawCursor(), os::ScrollBar::FrameSized(), os::Spinner::FrameSized(), os::DropdownMenu::FrameSized(), os::Slider::FrameSized(), os::TextView::FrameSized(), os::View::GetContentSize(), os::Slider::GetPreferredSize(), os::BitmapImage::GetSize(), os::Slider::GetSliderFrame(), os::BitmapImage::GrayFilter(), os::View::Height(), os::BitmapImage::HighlightFilter(), os::TableCell::Layout(), os::ProgressView::Layout(), os::HLayoutNode::Layout(), os::VLayoutNode::Layout(), os::IconView::Private::LayoutIcons(), os::IconView::Private::LayoutIconsIfNecessary(), os::TreeViewCheckNode::Paint(), os::PopupMenu::Paint(), os::Separator::Paint(), os::AlertView::Paint(), os::CheckBox::Paint(), os::RadioButton::Paint(), os::ImageButton::Paint(), os::ImageView::Paint(), os::ScrollBar::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TreeViewStringNode::Paint(), os::ListViewStringRow::Paint(), os::Slider::PosToVal(), os::ImageView::Refresh(), os::Slider::RenderLabels(), os::TextEdit::RenderLine(), os::Slider::RenderTicks(), Scale(), os::IconView::ScrollToIcon(), os::View::SetFrame(), os::Slider::Slider(), os::Splitter::SplitBy(), os::IconView::MainView::TimerTick(), os::TreeViewCheckNode::TreeViewCheckNode(), os::TextEdit::UpdateBackBuffer(), and os::Slider::ValToPos().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by os::MenuItem::Draw(), os::CheckBox::Paint(), os::RadioButton::Paint(), and os::Button::Paint().
|
inline |
References os::Point::x, and os::Point::y.
|
inline |
References os::Point::x, and os::Point::y.
References os::Point::x, and os::Point::y.
|
inline |
References os::Point::x, and os::Point::y.
|
inline |
References os::Point::x, and os::Point::y.
|
inline |
References os::Point::x, and os::Point::y.
|
inline |
Referenced by os::TreeView::Private::CalcExpImgBounds(), os::TabView::DeleteTab(), os::View::DrawRoundedFrame(), os::FrameView::FrameSized(), os::Spinner::FrameSized(), os::TabView::FrameSized(), os::TextView::FrameSized(), os::TabView::InsertTab(), os::LayoutNode::Layout(), os::TreeViewCheckNode::Paint(), os::CheckRow::Paint(), os::CalendarView::DayView::Paint(), os::CheckBox::Paint(), os::FrameView::Paint(), os::StringView::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::IconView::MainView::Paint(), os::Slider::RenderKnob(), os::Slider::RenderSlider(), os::LayoutNode::SetFrame(), os::TabView::SetSelection(), and os::TextView::TextView().
|
inline |
Referenced by os::ProgressView::Layout().
References bottom, left, right, top, os::Point::x, and os::Point::y.
|
inline |
Referenced by os::FrameView::SetLabel().
|
inline |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::Splitter::AdjustLayout(), os::IconView::Private::AdjustScrollBars(), os::AlertView::AlertView(), os::Window::CenterInScreen(), os::Window::CenterInWindow(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), os::MenuSeparator::Draw(), os::ScrollBar::FrameSized(), os::TabView::FrameSized(), os::Slider::FrameSized(), os::TextView::FrameSized(), os::View::GetContentSize(), os::Slider::GetPreferredSize(), os::BitmapImage::GetSize(), os::Slider::GetSliderFrame(), os::TableCell::Layout(), os::ProgressView::Layout(), os::HLayoutNode::Layout(), os::VLayoutNode::Layout(), os::IconView::Private::LayoutIcons(), os::IconView::Private::LayoutIconsIfNecessary(), os::Separator::Paint(), os::AlertView::Paint(), os::ImageButton::Paint(), os::ImageView::Paint(), os::ScrollBar::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::Slider::PosToVal(), os::ImageView::Refresh(), os::Slider::RenderLabels(), os::Slider::RenderTicks(), Scale(), os::IconView::ScrollToIcon(), os::View::SetFrame(), os::Slider::Slider(), os::Splitter::SplitBy(), os::TabView::TabView(), os::IconView::MainView::TimerTick(), os::TreeViewCheckNode::TreeViewCheckNode(), os::TextEdit::UpdateBackBuffer(), os::Slider::ValToPos(), and os::View::Width().
float os::Rect::bottom |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::Splitter::AdjustLayout(), os::IconView::Private::AdjustScrollBars(), os::Variant::AsString(), os::TreeView::Private::CalcExpImgBounds(), os::LayoutNode::CalculatePreferredSize(), os::HLayoutNode::CalculatePreferredSize(), os::VLayoutNode::CalculatePreferredSize(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), DoIntersect(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::View::DrawFrame(), os::View::DrawRoundedFrame(), os::FrameView::FontChanged(), os::FrameView::FrameSized(), os::ScrollBar::FrameSized(), os::Spinner::FrameSized(), os::DropdownMenu::FrameSized(), os::TabView::FrameSized(), os::TextView::FrameSized(), os::View::GetChildAt(), os::Slider::GetPreferredSize(), os::Slider::GetSliderFrame(), os::Splitter::GetSplitPosition(), os::TreeViewCheckNode::HitTest(), os::IconView::IconView(), Includes(), os::IRect::Includes(), os::TextEdit::InsertString(), os::Menu::InvalidateLayout(), os::TextEdit::InvalidateLines(), os::IRect::IRect(), os::LayoutNode::Layout(), os::HLayoutNode::Layout(), os::TextEdit::MakeCsrVisible(), os::ScrollBar::MouseDown(), os::DropdownMenu::DropdownView::MouseMove(), os::IconDirectoryView::MouseMove(), os::IconView::MainView::MouseMove(), os::Menu::Open(), operator!=(), operator&(), operator&=(), operator==(), operator|(), operator|=(), os::TreeViewCheckNode::Paint(), os::CheckRow::Paint(), os::CalendarView::DayView::Paint(), os::Separator::Paint(), os::CheckBox::Paint(), os::TabViewTab::Paint(), os::DropdownMenu::DropdownView::Paint(), os::FrameView::Paint(), os::ImageButton::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::TableView::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::TreeViewStringNode::Paint(), os_priv::SplitterSeparator::Paint(), os::ListViewStringRow::Paint(), os::TextEdit::Paint(), os::ListView::Paint(), os::IconView::MainView::Paint(), os::ListViewCol::Refresh(), os::Slider::RenderKnob(), os::Slider::RenderLabels(), os::TextEdit::RenderLine(), os::IconView::Private::RenderSelection(), os::Slider::RenderSlider(), os::Slider::RenderTicks(), os::View::ResizeBy(), Scale(), os::IconView::ScrollToIcon(), os::LayoutNode::SetFrame(), os::FrameView::SetLabel(), os::Splitter::SetOrientation(), os::Splitter::SplitBy(), os::Splitter::SplitTo(), and os::TreeViewCheckNode::TreeViewCheckNode().
float os::Rect::left |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::Splitter::AdjustLayout(), os::Variant::AsString(), os::LayoutNode::CalculatePreferredSize(), os::HLayoutNode::CalculatePreferredSize(), os::VLayoutNode::CalculatePreferredSize(), os::Window::CenterInWindow(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), DoIntersect(), os::RadioMenuItem::Draw(), os::CheckMenu::Draw(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::View::DrawFrame(), os::View::DrawRoundedFrame(), os::FrameView::FrameSized(), os::ScrollBar::FrameSized(), os::Spinner::FrameSized(), os::DropdownMenu::FrameSized(), os::TabView::FrameSized(), os::Menu::FrameSized(), os::View::GetBounds(), os::Bitmap::GetBytesPerRow(), os::View::GetChildAt(), os::MenuItem::GetContentLocation(), os::View::GetLeftTop(), os::Splitter::GetSplitPosition(), os::IconView::IconView(), Includes(), os::IRect::Includes(), os::TextEdit::InsertString(), os::Menu::InvalidateLayout(), os::IRect::IRect(), os::LayoutNode::Layout(), os::HLayoutNode::Layout(), os::VLayoutNode::Layout(), os::IconView::Private::LayoutIcons(), os::TextEdit::MakeCsrVisible(), os::ScrollBar::MouseDown(), os::IconDirectoryView::MouseMove(), os::TabView::MouseMove(), os::IconView::MainView::MouseMove(), os::Menu::Open(), operator!=(), operator&(), operator&=(), operator+(), operator-(), operator==(), operator|(), operator|=(), os::TreeViewCheckNode::Paint(), os::CheckRow::Paint(), os::Separator::Paint(), os::CheckBox::Paint(), os::TabViewTab::Paint(), os::RadioButton::Paint(), os::DropdownMenu::DropdownView::Paint(), os::FrameView::Paint(), os::ImageButton::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::TableView::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::TreeViewStringNode::Paint(), os_priv::SplitterSeparator::Paint(), os::ListViewStringRow::Paint(), os::TextEdit::Paint(), os::IconView::MainView::Paint(), os::ListViewCol::Refresh(), os::Slider::RenderKnob(), os::TextEdit::RenderLine(), os::IconView::Private::RenderSelection(), os::Slider::RenderSlider(), os::Slider::RenderTicks(), os::View::ResizeBy(), os::View::ResizeTo(), Scale(), os::IconView::ScrollToIcon(), os::LayoutNode::SetFrame(), os::View::SetFrame(), os::Splitter::SetOrientation(), os::Splitter::SplitBy(), os::Splitter::SplitTo(), os::TreeViewCheckNode::TreeViewCheckNode(), and os::Slider::ValToPos().
float os::Rect::right |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::TreeViewNode::_ExpanderCrossPos(), os::Splitter::AdjustLayout(), os::IconView::Private::AdjustScrollBars(), os::Variant::AsString(), os::TreeView::Private::CalcExpImgBounds(), os::LayoutNode::CalculatePreferredSize(), os::HLayoutNode::CalculatePreferredSize(), os::VLayoutNode::CalculatePreferredSize(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), DoIntersect(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::View::DrawFrame(), os::View::DrawRoundedFrame(), os::FrameView::FrameSized(), os::ScrollBar::FrameSized(), os::Spinner::FrameSized(), os::DropdownMenu::FrameSized(), os::TabView::FrameSized(), os::TextView::FrameSized(), os::Menu::FrameSized(), os::ListView::FrameSized(), os::Bitmap::GetBytesPerRow(), os::View::GetChildAt(), os::Slider::GetSliderFrame(), os::Splitter::GetSplitPosition(), os::IconView::IconView(), Includes(), os::IRect::Includes(), os::Menu::InvalidateLayout(), os::IRect::IRect(), os::LayoutNode::Layout(), os::VLayoutNode::Layout(), os::TextEdit::MakeCsrVisible(), os::ScrollBar::MouseDown(), os::IconDirectoryView::MouseMove(), os::TabView::MouseMove(), os::IconView::MainView::MouseMove(), os::Menu::Open(), operator!=(), operator&(), operator&=(), operator==(), operator|(), operator|=(), os::TreeViewCheckNode::Paint(), os::CheckRow::Paint(), os::Separator::Paint(), os::CheckBox::Paint(), os::DropdownMenu::DropdownView::Paint(), os::TabViewTab::Paint(), os::FrameView::Paint(), os::ImageButton::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::TableView::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::TreeViewStringNode::Paint(), os_priv::SplitterSeparator::Paint(), os::ListViewStringRow::Paint(), os::TextEdit::Paint(), os::ListView::Paint(), os::IconView::MainView::Paint(), os::ListViewCol::Refresh(), os::Slider::RenderKnob(), os::Slider::RenderLabels(), os::TextEdit::RenderLine(), os::IconView::Private::RenderSelection(), os::Slider::RenderSlider(), os::Slider::RenderTicks(), os::View::ResizeBy(), Scale(), os::IconView::ScrollToIcon(), os::LayoutNode::SetFrame(), os::Splitter::SetOrientation(), os::Splitter::SplitBy(), os::Splitter::SplitTo(), and os::TreeViewCheckNode::TreeViewCheckNode().
float os::Rect::top |
Referenced by os::TreeViewNode::_DrawExpanderCross(), os::Splitter::AdjustLayout(), os::Variant::AsString(), os::LayoutNode::CalculatePreferredSize(), os::HLayoutNode::CalculatePreferredSize(), os::VLayoutNode::CalculatePreferredSize(), os::Window::CenterInWindow(), os::CheckMenu::CheckMenu(), os::CheckRow::CheckRow(), DoIntersect(), os::RadioMenuItem::Draw(), os::CheckMenu::Draw(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::View::DrawFrame(), os::View::DrawRoundedFrame(), os::FrameView::FontChanged(), os::FrameView::FrameSized(), os::ScrollBar::FrameSized(), os::TabView::FrameSized(), os::View::GetBounds(), os::View::GetChildAt(), os::MenuItem::GetContentLocation(), os::View::GetLeftTop(), os::Slider::GetPreferredSize(), os::ListView::GetRowPos(), os::Slider::GetSliderFrame(), os::Splitter::GetSplitPosition(), os::IconView::IconView(), Includes(), os::IRect::Includes(), os::TextEdit::InsertString(), os::Menu::InvalidateLayout(), os::TextEdit::InvalidateLines(), os::IRect::IRect(), os::LayoutNode::Layout(), os::HLayoutNode::Layout(), os::VLayoutNode::Layout(), os::IconView::Private::LayoutIcons(), os::TextEdit::MakeCsrVisible(), os::ScrollBar::MouseDown(), os::DropdownMenu::DropdownView::MouseMove(), os::IconDirectoryView::MouseMove(), os::IconView::MainView::MouseMove(), os::Menu::Open(), operator!=(), operator&(), operator&=(), operator+(), operator-(), operator==(), operator|(), operator|=(), os::TreeViewCheckNode::Paint(), os::CheckRow::Paint(), os::CalendarView::DayView::Paint(), os::PopupMenu::Paint(), os::Separator::Paint(), os::CheckBox::Paint(), os::TabViewTab::Paint(), os::DropdownMenu::DropdownView::Paint(), os::FrameView::Paint(), os::ImageButton::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::TableView::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os::TreeViewStringNode::Paint(), os_priv::SplitterSeparator::Paint(), os::ListViewStringRow::Paint(), os::TextEdit::Paint(), os::IconView::MainView::Paint(), os::ListViewCol::Refresh(), os::Slider::RenderKnob(), os::Slider::RenderLabels(), os::TextEdit::RenderLine(), os::IconView::Private::RenderSelection(), os::Slider::RenderSlider(), os::Slider::RenderTicks(), os::View::ResizeBy(), os::View::ResizeTo(), Scale(), os::IconView::ScrollToIcon(), os::LayoutNode::SetFrame(), os::View::SetFrame(), os::Splitter::SetOrientation(), os::Splitter::SplitBy(), os::Splitter::SplitTo(), os::TreeViewCheckNode::TreeViewCheckNode(), and os::Slider::ValToPos().