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::Point Class Reference

A geometric point class. More...

#include <Platform.h>

Public Member Functions

constexpr Point (XYPOSITION x_=0, XYPOSITION y_=0) noexcept
 
constexpr bool operator!= (Point other) const noexcept
 
constexpr Point operator+ (Point other) const noexcept
 
constexpr Point operator- (Point other) const noexcept
 

Static Public Member Functions

static constexpr Point FromInts (int x_, int y_) noexcept
 

Public Attributes

XYPOSITION x
 
XYPOSITION y
 

Detailed Description

A geometric point class.

Point is similar to the Win32 POINT and GTK+ GdkPoint types.

Definition at line 99 of file Platform.h.

Constructor & Destructor Documentation

◆ Point()

constexpr Scintilla::Point::Point ( XYPOSITION  x_ = 0,
XYPOSITION  y_ = 0 
)
inlineexplicitconstexprnoexcept

Definition at line 104 of file Platform.h.

Referenced by FromInts(), operator+(), and operator-().

Member Function Documentation

◆ FromInts()

◆ operator!=()

constexpr bool Scintilla::Point::operator!= ( Point  other) const
inlineconstexprnoexcept

Definition at line 111 of file Platform.h.

References x, and y.

◆ operator+()

constexpr Point Scintilla::Point::operator+ ( Point  other) const
inlineconstexprnoexcept

Definition at line 115 of file Platform.h.

References Point(), x, and y.

◆ operator-()

constexpr Point Scintilla::Point::operator- ( Point  other) const
inlineconstexprnoexcept

Definition at line 119 of file Platform.h.

References Point(), x, and y.

Member Data Documentation

◆ x

◆ y


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