wxMathPlot - Plot Library for wxWidgets Applications
Public Member Functions | Public Attributes | List of all members
mpRect Struct Reference

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

#include <mathplot.h>

Public Member Functions

wxRect GetRect (void)
 Create standard wxWidgets rectangle defined by this object's start and end points.
 

Public Attributes

union { 
 
   struct { 
 
      wxCoord   startPx 
 
      wxCoord   startPy 
 
      wxCoord   endPx 
 
      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 standard wxWidgets rectangle defined by this object's start and end points.

Returns
wxRect object