Ardour  9.0-pre0-582-g084a23a80d
Gdk::Point Class Reference

#include <types.h>

Public Member Functions

 Point ()
 
 Point (int x, int y)
 
void set_x (int x)
 
void set_y (int y)
 
int get_x () const
 
int get_y () const
 
bool equal (const Gdk::Point &rhs) const
 
GdkPointgobj ()
 Provides access to the underlying C GObject.
More...
 
const GdkPointgobj () const
 Provides access to the underlying C GObject.
More...
 

Protected Attributes

GdkPoint gobject_
 

Related Functions

(Note that these are not member functions.)

bool operator== (const Point &lhs, const Point &rhs)
 
bool operator!= (const Point &lhs, const Point &rhs)
 
Gdk::Pointwrap (GdkPoint *object)
 
const Gdk::Pointwrap (const GdkPoint *object)
 

Detailed Description

This is a simple structure containing an x and y coordinate of a point.

Definition at line 299 of file tk/ydkmm/ydkmm/gdkmm/types.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

Gdk::Point::Point ( )

◆ Point() [2/2]

Gdk::Point::Point ( int  x,
int  y 
)

Member Function Documentation

◆ equal()

bool Gdk::Point::equal ( const Gdk::Point rhs) const

◆ get_x()

int Gdk::Point::get_x ( ) const
inline

Definition at line 317 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ get_y()

int Gdk::Point::get_y ( ) const
inline

Definition at line 318 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ gobj() [1/2]

GdkPoint* Gdk::Point::gobj ( )
inline

Provides access to the underlying C GObject.

Definition at line 323 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ gobj() [2/2]

const GdkPoint* Gdk::Point::gobj ( ) const
inline

Provides access to the underlying C GObject.

Definition at line 325 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ set_x()

void Gdk::Point::set_x ( int  x)
inline

Definition at line 314 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ set_y()

void Gdk::Point::set_y ( int  y)
inline

Definition at line 315 of file tk/ydkmm/ydkmm/gdkmm/types.h.

Friends And Related Function Documentation

◆ operator!=()

bool operator!= ( const Point lhs,
const Point rhs 
)
related

Definition at line 338 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ operator==()

bool operator== ( const Point lhs,
const Point rhs 
)
related

Definition at line 334 of file tk/ydkmm/ydkmm/gdkmm/types.h.

◆ wrap() [1/2]

const Gdk::Point & wrap ( const GdkPoint object)
related

◆ wrap() [2/2]

Gdk::Point & wrap ( GdkPoint object)
related

Member Data Documentation

◆ gobject_

GdkPoint Gdk::Point::gobject_
protected

Definition at line 328 of file tk/ydkmm/ydkmm/gdkmm/types.h.


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