geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::PRectangle Class Reference

A geometric rectangle class. More...

#include <Platform.h>

Public Member Functions

constexpr PRectangle (XYPOSITION left_=0, XYPOSITION top_=0, XYPOSITION right_=0, XYPOSITION bottom_=0) noexcept
 
constexpr bool operator== (const PRectangle &rc) const noexcept
 
constexpr bool Contains (Point pt) const noexcept
 
constexpr bool ContainsWholePixel (Point pt) const noexcept
 
constexpr bool Contains (PRectangle rc) const noexcept
 
constexpr bool Intersects (PRectangle other) const noexcept
 
void Move (XYPOSITION xDelta, XYPOSITION yDelta) noexcept
 
constexpr XYPOSITION Width () const noexcept
 
constexpr XYPOSITION Height () const noexcept
 
constexpr bool Empty () const noexcept
 

Static Public Member Functions

static constexpr PRectangle FromInts (int left_, int top_, int right_, int bottom_) noexcept
 

Public Attributes

XYPOSITION left
 
XYPOSITION top
 
XYPOSITION right
 
XYPOSITION bottom
 

Detailed Description

A geometric rectangle class.

PRectangle is similar to Win32 RECT. PRectangles contain their top and left sides, but not their right and bottom sides.

Definition at line 131 of file Platform.h.

Constructor & Destructor Documentation

◆ PRectangle()

constexpr Scintilla::PRectangle::PRectangle ( XYPOSITION  left_ = 0,
XYPOSITION  top_ = 0,
XYPOSITION  right_ = 0,
XYPOSITION  bottom_ = 0 
)
inlineexplicitconstexprnoexcept

Definition at line 138 of file Platform.h.

Referenced by FromInts().

Member Function Documentation

◆ Contains() [1/2]

constexpr bool Scintilla::PRectangle::Contains ( Point  pt) const
inlineconstexprnoexcept

◆ Contains() [2/2]

constexpr bool Scintilla::PRectangle::Contains ( PRectangle  rc) const
inlineconstexprnoexcept

Definition at line 162 of file Platform.h.

References bottom, left, right, and top.

◆ ContainsWholePixel()

constexpr bool Scintilla::PRectangle::ContainsWholePixel ( Point  pt) const
inlineconstexprnoexcept

Definition at line 157 of file Platform.h.

References bottom, left, right, and top.

Referenced by Scintilla::Editor::PointInSelMargin().

◆ Empty()

constexpr bool Scintilla::PRectangle::Empty ( ) const
inlineconstexprnoexcept

◆ FromInts()

◆ Height()

◆ Intersects()

constexpr bool Scintilla::PRectangle::Intersects ( PRectangle  other) const
inlineconstexprnoexcept

◆ Move()

◆ operator==()

constexpr bool Scintilla::PRectangle::operator== ( const PRectangle rc) const
inlineconstexprnoexcept

Definition at line 149 of file Platform.h.

References bottom, left, right, and top.

◆ Width()

Member Data Documentation

◆ bottom

XYPOSITION Scintilla::PRectangle::bottom

Definition at line 136 of file Platform.h.

Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::Editor::ButtonMoveWithModifiers(), Scintilla::ScintillaBase::CallTipShow(), Scintilla::Editor::CheckForChangeOutsidePaint(), Contains(), ContainsWholePixel(), Scintilla::Indicator::Draw(), Scintilla::LineMarker::Draw(), Scintilla::EditView::DrawBackground(), DrawCaretLineFramed(), Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), DrawFoldLines(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::DrawIndentGuide(), DrawIndicator(), DrawMarkUnderline(), Scintilla::SurfaceImpl::DrawRGBAImage(), DrawTextBlob(), DrawTranslucentLineState(), DrawWrapIndentAndMarker(), Scintilla::SurfaceImpl::Ellipse(), Scintilla::EditView::FormatRange(), Scintilla::ScintillaGTK::GetClientRectangle(), ListBoxX::GetDesiredRect(), Scintilla::Window::GetPosition(), Scintilla::SurfaceImpl::GradientRectangle(), Height(), Intersects(), Scintilla::Editor::LinesOnScreen(), Move(), Scintilla::Editor::MoveCaretInsideView(), operator==(), Scintilla::ScintillaGTK::PaintContains(), Scintilla::CallTip::PaintContents(), Scintilla::CallTip::PaintCT(), Scintilla::MarginView::PaintMargin(), Scintilla::Editor::PaintSelMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PositionAfterArea(), Scintilla::ScintillaGTK::PressThis(), Scintilla::Editor::RectangleFromRange(), Scintilla::Editor::RedrawRect(), Scintilla::Editor::RedrawSelMargin(), Scintilla::SurfaceImpl::RoundedRectangle(), and Scintilla::Editor::XYScrollToMakeVisible().

◆ left

XYPOSITION Scintilla::PRectangle::left

Definition at line 133 of file Platform.h.

Referenced by Scintilla::SurfaceImpl::AlphaRectangle(), Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::Editor::ChangeSize(), Contains(), ContainsWholePixel(), Scintilla::SurfaceImpl::Copy(), Scintilla::XPM::Draw(), Scintilla::Indicator::Draw(), Scintilla::LineMarker::Draw(), Scintilla::EditView::DrawAnnotation(), Scintilla::EditView::DrawBackground(), DrawBlockCaret(), DrawCaretLineFramed(), Scintilla::EditView::DrawCarets(), Scintilla::CallTip::DrawChunk(), DrawEdgeLine(), Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawForeground(), DrawIndicator(), Scintilla::SurfaceImpl::DrawRGBAImage(), Scintilla::DrawStyledText(), DrawTabArrow(), Scintilla::SurfaceImpl::DrawTextBase(), DrawTextBlob(), DrawTranslucentSelection(), DrawWrapIndentAndMarker(), Scintilla::SurfaceImpl::Ellipse(), Scintilla::SurfaceImpl::FillRectangle(), Scintilla::EditView::FormatRange(), Scintilla::ScintillaGTK::GetClientRectangle(), Scintilla::Window::GetPosition(), Scintilla::Editor::GetTextRectangle(), Scintilla::SurfaceImpl::GradientRectangle(), Intersects(), Move(), operator==(), Scintilla::Editor::Paint(), Scintilla::ScintillaGTK::PaintContains(), Scintilla::CallTip::PaintContents(), Scintilla::CallTip::PaintCT(), Scintilla::MarginView::PaintMargin(), Scintilla::Editor::PaintSelMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PointInSelMargin(), Scintilla::SurfaceImpl::RectangleDraw(), Scintilla::Editor::RectangleFromRange(), Scintilla::Editor::RedrawRect(), Scintilla::Editor::RedrawSelMargin(), Scintilla::SurfaceImpl::RoundedRectangle(), Scintilla::SurfaceImpl::SetClip(), Scintilla::Window::SetPosition(), Width(), Scintilla::Editor::WrapLines(), and Scintilla::Editor::XYScrollToMakeVisible().

◆ right

XYPOSITION Scintilla::PRectangle::right

Definition at line 135 of file Platform.h.

Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::Editor::ChangeSize(), Contains(), ContainsWholePixel(), Scintilla::Indicator::Draw(), Scintilla::LineMarker::Draw(), Scintilla::EditView::DrawAnnotation(), Scintilla::EditView::DrawBackground(), DrawBlockCaret(), DrawCaretLineFramed(), Scintilla::EditView::DrawCarets(), Scintilla::CallTip::DrawChunk(), DrawEdgeLine(), Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawForeground(), DrawIndicator(), Scintilla::SurfaceImpl::DrawRGBAImage(), Scintilla::DrawStyledText(), DrawTabArrow(), DrawTextBlob(), DrawTranslucentSelection(), DrawWrapIndentAndMarker(), Scintilla::SurfaceImpl::Ellipse(), Scintilla::SurfaceImpl::FillRectangle(), Scintilla::EditView::FormatRange(), Scintilla::ScintillaGTK::GetClientRectangle(), ListBoxX::GetDesiredRect(), Scintilla::Window::GetPosition(), Scintilla::Editor::GetTextRectangle(), Scintilla::SurfaceImpl::GradientRectangle(), Intersects(), Move(), operator==(), Scintilla::Editor::Paint(), Scintilla::ScintillaGTK::PaintContains(), Scintilla::Editor::PaintContainsMargin(), Scintilla::CallTip::PaintContents(), Scintilla::CallTip::PaintCT(), Scintilla::MarginView::PaintMargin(), Scintilla::Editor::PaintSelMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PointInSelMargin(), Scintilla::ScintillaGTK::PressThis(), Scintilla::Editor::RectangleFromRange(), Scintilla::Editor::RedrawRect(), Scintilla::Editor::RedrawSelMargin(), Scintilla::SurfaceImpl::RoundedRectangle(), Width(), Scintilla::Editor::WrapLines(), and Scintilla::Editor::XYScrollToMakeVisible().

◆ top

XYPOSITION Scintilla::PRectangle::top

Definition at line 134 of file Platform.h.

Referenced by Scintilla::SurfaceImpl::AlphaRectangle(), Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::Editor::ButtonMoveWithModifiers(), Scintilla::ScintillaBase::CallTipShow(), Scintilla::Editor::CheckForChangeOutsidePaint(), Contains(), ContainsWholePixel(), Scintilla::SurfaceImpl::Copy(), Scintilla::XPM::Draw(), Scintilla::Indicator::Draw(), Scintilla::LineMarker::Draw(), Scintilla::EditView::DrawBackground(), DrawBlockCaret(), DrawCaretLineFramed(), Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), DrawFoldLines(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::DrawIndentGuide(), DrawIndicator(), DrawMarkUnderline(), Scintilla::SurfaceImpl::DrawRGBAImage(), Scintilla::DrawStyledText(), DrawTextBlob(), DrawTranslucentLineState(), DrawWrapIndentAndMarker(), Scintilla::SurfaceImpl::Ellipse(), Scintilla::SurfaceImpl::FillRectangle(), Scintilla::EditView::FormatRange(), Scintilla::ScintillaGTK::GetClientRectangle(), Scintilla::Window::GetPosition(), Scintilla::SurfaceImpl::GradientRectangle(), Height(), Intersects(), Scintilla::Editor::LinesOnScreen(), Move(), Scintilla::Editor::MoveCaretInsideView(), operator==(), Scintilla::ScintillaGTK::PaintContains(), Scintilla::CallTip::PaintContents(), Scintilla::CallTip::PaintCT(), Scintilla::MarginView::PaintMargin(), Scintilla::Editor::PaintSelMargin(), Scintilla::EditView::PaintText(), Scintilla::SurfaceImpl::RectangleDraw(), Scintilla::Editor::RectangleFromRange(), Scintilla::Editor::RedrawRect(), Scintilla::Editor::RedrawSelMargin(), Scintilla::SurfaceImpl::RoundedRectangle(), Scintilla::SurfaceImpl::SetClip(), Scintilla::Window::SetPosition(), and Scintilla::Editor::XYScrollToMakeVisible().


The documentation for this class was generated from the following file: