goocanvasmm 1.90.11
Public Member Functions | Static Public Member Functions | Protected Attributes | Related Symbols | List of all members
Goocanvas::Points Class Reference

#include <goocanvasmm/points.h>

Public Member Functions

 Points ()
 
 Points (GooCanvasPoints* gobject, bool make_a_copy=true)
 
 Points (const Points& other)
 
Pointsoperator= (const Points& other)
 
 Points (Points&& other) noexcept
 
Pointsoperator= (Points&& other) noexcept
 
 ~Points () noexcept
 
void swap (Points& other) noexcept
 
GooCanvasPoints* gobj ()
 Provides access to the underlying C instance.
 
const GooCanvasPoints* gobj () const
 Provides access to the underlying C instance.
 
GooCanvasPoints* gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
 
 Points (int num_points)
 
 Points (int num_points, const double* coords)
 
int get_num_points () const
 
void set_coordinate (int index, double x, double y)
 
void get_coordinate (int index, double& x, double& y) const
 

Static Public Member Functions

static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system.
 

Protected Attributes

GooCanvasPoints* gobject_
 

Related Symbols

(Note that these are not member symbols.)

void swap (Points& lhs, Points& rhs) noexcept
 
Goocanvas::Points wrap (GooCanvasPoints* object, bool take_copy=false)
 A Glib::wrap() method for this object.
 

Constructor & Destructor Documentation

◆ Points() [1/6]

Goocanvas::Points::Points ( )

◆ Points() [2/6]

Goocanvas::Points::Points ( GooCanvasPoints *  gobject,
bool  make_a_copy = true 
)
explicit

◆ Points() [3/6]

Goocanvas::Points::Points ( const Points other)

◆ Points() [4/6]

Goocanvas::Points::Points ( Points&&  other)
noexcept

◆ ~Points()

Goocanvas::Points::~Points ( )
noexcept

◆ Points() [5/6]

Goocanvas::Points::Points ( int  num_points)
explicit

◆ Points() [6/6]

Goocanvas::Points::Points ( int  num_points,
const double *  coords 
)

Member Function Documentation

◆ get_coordinate()

void Goocanvas::Points::get_coordinate ( int  index,
double &  x,
double &  y 
) const

◆ get_num_points()

int Goocanvas::Points::get_num_points ( ) const

◆ get_type()

static GType Goocanvas::Points::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

◆ gobj() [1/2]

GooCanvasPoints * Goocanvas::Points::gobj ( )
inline

Provides access to the underlying C instance.

◆ gobj() [2/2]

const GooCanvasPoints * Goocanvas::Points::gobj ( ) const
inline

Provides access to the underlying C instance.

◆ gobj_copy()

GooCanvasPoints * Goocanvas::Points::gobj_copy ( ) const

Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.

◆ operator=() [1/2]

Points& Goocanvas::Points::operator= ( const Points other)

◆ operator=() [2/2]

Points& Goocanvas::Points::operator= ( Points&&  other)
noexcept

◆ set_coordinate()

void Goocanvas::Points::set_coordinate ( int  index,
double  x,
double  y 
)

◆ swap()

void Goocanvas::Points::swap ( Points other)
noexcept

Friends And Related Symbol Documentation

◆ swap()

void swap ( Points lhs,
Points rhs 
)
related
Parameters
lhsThe left-hand side
rhsThe right-hand side

◆ wrap()

Goocanvas::Points wrap ( GooCanvasPoints *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

Member Data Documentation

◆ gobject_

GooCanvasPoints* Goocanvas::Points::gobject_
protected

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