MathPlot
Public Member Functions | Public Attributes | List of all members
mpRect Union Reference

A rectangle structure in several (integer) flavors. More...

#include <mathplot.h>

Public Member Functions

wxRect GetRect (void)
 Create rectangular area defined by start and end points. More...
 

Public Attributes

struct {
   wxCoord   startPx
 
   wxCoord   endPx
 
   wxCoord   startPy
 
   wxCoord   endPy
 
}; 
 
struct {
   wxCoord   left
 
   wxCoord   top
 
   wxCoord   right
 
   wxCoord   bottom
 
}; 
 
struct {
   wxCoord   x1
 
   wxCoord   y1
 
   wxCoord   x2
 
   wxCoord   y2
 
}; 
 
wxCoord tab [4]
 Alternate array-style access to the rectangle coordinates.
 

Detailed Description

A rectangle structure in several (integer) flavors.

Member Function Documentation

◆ GetRect()

wxRect mpRect::GetRect ( void  )
inline

Create rectangular area defined by start and end points.

Returns
wxRect object