Krita Source Code Documentation
Loading...
Searching...
No Matches
boost::polygon::point_traits< QPoint > Struct Reference

Public Types

typedef int coordinate_type
 

Static Public Member Functions

static coordinate_type get (const QPoint &point, orientation_2d orient)
 

Detailed Description

Definition at line 20 of file KoPolygonUtils.cpp.

Member Typedef Documentation

◆ coordinate_type

typedef int boost::polygon::point_traits< QPoint >::coordinate_type

Definition at line 21 of file KoPolygonUtils.cpp.

Member Function Documentation

◆ get()

static coordinate_type boost::polygon::point_traits< QPoint >::get ( const QPoint & point,
orientation_2d orient )
inlinestatic

Definition at line 23 of file KoPolygonUtils.cpp.

24 {
25 if(orient == HORIZONTAL)
26 return point.x();
27 return point.y();
28 }

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