mathplot.h File Reference

#include "marTypes.h"
#include "wx/defs.h"
#include <wx/wx.h>
Include dependency graph for mathplot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mpLayer
class  mpFX
class  mpFY
class  mpFXY
class  mpScaleX
class  mpScaleY
class  mpWindow

Defines

#define ZOOM_FACTOR   1.5
Label alignment constants



#define mpALIGNMASK   0x03
#define mpALIGN_RIGHT   0x00
#define mpALIGN_CENTER   0x01
#define mpALIGN_LEFT   0x02
#define mpALIGN_TOP   mpALIGN_RIGHT
#define mpALIGN_BOTTOM   mpALIGN_LEFT
#define mpALIGN_NE   0x00
#define mpALIGN_NW   0x01
#define mpALIGN_SW   0x02
#define mpALIGN_SE   0x03
Constants defining mouse modes for mpWindow



#define mpMOUSEMODE_DRAG   0
#define mpMOUSEMODE_ZOOMBOX   1

Enumerations

enum  {
  mpID_FIT = 2000, mpID_ZOOM_IN, mpID_ZOOM_OUT, mpID_CENTER,
  mpID_LOCKASPECT, mpID_LINE_GUIDES
}

Define Documentation

#define mpALIGN_BOTTOM   mpALIGN_LEFT

Aligns label to the bottom. For use with mpFY.

Definition at line 231 of file mathplot.h.

#define mpALIGN_CENTER   0x01

Aligns label to the center. For use with mpFX and mpFY.

Definition at line 225 of file mathplot.h.

Referenced by mpFY::Plot(), and mpFX::Plot().

#define mpALIGN_LEFT   0x02

Aligns label to the left. For use with mpFX.

Definition at line 227 of file mathplot.h.

#define mpALIGN_NE   0x00

Aligns label to north-east. For use with mpFXY.

Definition at line 233 of file mathplot.h.

Referenced by pPlotterWindow::onLoad(), pPlotterWindow::onStartDrawing(), and mpFXY::Plot().

#define mpALIGN_NW   0x01

Aligns label to north-west. For use with mpFXY.

Definition at line 235 of file mathplot.h.

Referenced by mpFXY::Plot().

#define mpALIGN_RIGHT   0x00

Aligns label to the right. For use with mpFX.

Definition at line 223 of file mathplot.h.

Referenced by mpFX::Plot().

#define mpALIGN_SE   0x03

Aligns label to south-east. For use with mpFXY.

Definition at line 239 of file mathplot.h.

#define mpALIGN_SW   0x02

Aligns label to south-west. For use with mpFXY.

Definition at line 237 of file mathplot.h.

Referenced by mpFXY::Plot().

#define mpALIGN_TOP   mpALIGN_RIGHT

Aligns label to the top. For use with mpFY.

Definition at line 229 of file mathplot.h.

Referenced by mpFY::Plot().

#define mpALIGNMASK   0x03

Definition at line 221 of file mathplot.h.

Referenced by mpFXY::Plot(), mpFY::Plot(), and mpFX::Plot().

#define mpMOUSEMODE_DRAG   0

Mouse panning drags the view. Mouse mode for mpWindow.

Definition at line 417 of file mathplot.h.

#define mpMOUSEMODE_ZOOMBOX   1

Mouse panning creates a zoom box. Mouse mode for mpWindow.

Definition at line 419 of file mathplot.h.

#define ZOOM_FACTOR   1.5

Definition at line 13 of file mathplot.h.

Referenced by pPlotterWindow::onMyZoomIn(), and pPlotterWindow::onMyZoomOut().


Enumeration Type Documentation

anonymous enum

Command IDs used by mpWindow

Enumerator:
mpID_FIT 

Fit view to match bounding box of all layers.

mpID_ZOOM_IN 

Zoom into view at clickposition / window center.

mpID_ZOOM_OUT 

Zoom out.

mpID_CENTER 

Center view on click position.

mpID_LOCKASPECT 

Lock x/y scaling aspect.

mpID_LINE_GUIDES 

Enables or disables the line guides drawing condition.

Definition at line 77 of file mathplot.h.

00078 {
00079         mpID_FIT = 2000,    
00080         mpID_ZOOM_IN,       
00081         mpID_ZOOM_OUT,      
00082         mpID_CENTER,        
00083         mpID_LOCKASPECT,    
00084         mpID_LINE_GUIDES,       
00085 };


Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1