mxtools.h File Reference

<mi32/mxtools.h> Definitions for MicroImages library tool functions More...

#include <mi32/transgen.h>
#include <mi32/unitconv.h>
#include <mi32/xdefns.h>
#include <mi32/elemstyl.h>

Include dependency graph for mxtools.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  BRKSEGMENT
struct  CROSSHAIRINFO
struct  EARCINFO
struct  EBOXINFO
struct  ECIRCLEINFO
struct  EELLIPSEINFO
struct  ELINEBRKINFO
struct  ELINEINFO
struct  EMBOXINFO
struct  EMULTILINEINFO
struct  EMULTIPOINTINFO
struct  ENODEINFO
struct  EPOINTINFO
struct  EPOLYLINEINFO
struct  EREGIONINFO
struct  EREGPOLYINFO
class  ETEXTLABELINFO
struct  ETEXTLABELINFO::LEADERINFO
struct  MANUALTOOLPARMS
struct  MxtAnyCallbackStruct
struct  MxtSnapCoordCallbackStruct
struct  SNAPGRIDPARMS

Defines

#define MxCROSSHAIR_NoBar0   0x00000001
#define MxCROSSHAIR_NoBar180   0x00000004
#define MxCROSSHAIR_NoBar270   0x00000008
#define MxCROSSHAIR_NoBar90   0x00000002
#define MxCROSSHAIR_SnapInside   0x00000010
#define MxEARC_EditChord   0x00000008
#define MxEARC_EditWedge   0x00000004
#define MxEARC_Rmax   0x00000002
#define MxEARC_Rmin   0x00000001
#define MxEBOX_AllCorners   0x00000002
#define MxEBOX_CanFlipBoth   (MxEBOX_CanFlipHorz|MxEBOX_CanFlipVert)
#define MxEBOX_CanFlipHorz   0x00000100
#define MxEBOX_CanFlipVert   0x00000200
#define MxEBOX_Corner0   0x00000010
#define MxEBOX_Corner1   0x00000020
#define MxEBOX_Corner2   0x00000040
#define MxEBOX_Corner3   0x00000080
#define MxEBOX_Proport   0x00000004
#define MxEBOX_Range   0x00000001
#define MxECIRCLE_Rmax   0x00000002
#define MxECIRCLE_Rmin   0x00000001
#define MxECIRCLE_RotationBar   0x00000004
#define MxEELLIPSE_Rmax   0x00000002
#define MxEELLIPSE_Rmin   0x00000001
#define MxEMBOX_DontShowBasePt   0x00000002
#define MxEMBOX_Proport   0x00000001
#define MxEMULTILINE_CanChgLinePolyMode   0x00000040
#define MxEMULTILINE_EditPoly   0x00000001
#define MxEMULTILINE_EnableResetB   0x00000004
#define MxEMULTILINE_LineIs3D   0x00000002
#define MxEMULTILINE_NoClearB   0x00000008
#define MxEMULTILINE_NoClosePolyB   0x00000010
#define MxEMULTILINE_NoEditZValue   0x00000080
#define MxEMULTILINE_SingleLineOnly   0x00000100
#define MxEMULTILINE_UseCurveFit   0x00000020
#define MxEMULTIPOINT_NoEditZValue   0x00000001
#define MxEMULTIPOINT_SinglePointOnly   0x00000002
#define MxEPOINT_NoEditZValue   0x00000001
#define MxEPOLYLINE_CanChgLinePolyMode   0x00000100
#define MxEPOLYLINE_EditPoly   0x00000001
#define MxEPOLYLINE_EnableProfile   0x00000004
#define MxEPOLYLINE_EnableResetB   0x00000010
#define MxEPOLYLINE_EnableTrace   0x00000008
#define MxEPOLYLINE_NoClearB   0x00000020
#define MxEPOLYLINE_NoClosePolyB   0x00000040
#define MxEPOLYLINE_NoEditZValue   0x00000200
#define MxEPOLYLINE_UseCurveFit   0x00000080
#define MxEPOLYLINE_UseSnapCoord   0x00000002
#define MxEREGION_NoMove   0x00000001
#define MxEREGPOLY_Rmax   0x00000002
#define MxEREGPOLY_Rmin   0x00000001
#define MxETEXTLABEL_NoAdvanced   0x00000002
#define MxETEXTLABEL_NoBaselineEdit   0x00000004
#define MxETEXTLABEL_NoLeaderLines   0x00000001
#define MxETEXTLABEL_NoStylePanel   0x00000008
#define MXT_ADD(_clsname)   inline void MxtCallbackAdd (MXTHANDLE vmxt, void (*f)(MxtAnyCallbackStruct*,_clsname*), UINT32 flags) const { MxtAddCallback(vmxt,reinterpret_cast<McbCallbackFunc>(f),const_cast<_clsname*>(this),(flags)); }
#define MXT_REMOVE(_clsname)   inline void MxtCallbackRemove (MXTHANDLE vmxt, void (*f)(MxtAnyCallbackStruct*,_clsname*), UINT32 flags) const { MxtRemoveCallback(vmxt,reinterpret_cast<McbCallbackFunc>(f),const_cast<_clsname*>(this),(flags)); }
#define MxtADJUST_Absolute   0x0001
#define MxtADJUST_Notify   0x8000
#define MxtADJUST_Relative   0x0000
#define MxtADJUST_ScreenCoords   0x0002
#define MxtADJUST_ToolCoords   0x0000
#define MxtBOUND_FullRect   0x0F000000
#define MxtBOUND_Xmax   0x04000000
#define MxtBOUND_Xmin   0x01000000
#define MxtBOUND_Ymax   0x08000000
#define MxtBOUND_Ymin   0x02000000
#define MxtCR_Activate   (1|MxtCR_IsOther|MxtCR_IsActivate)
#define MxtCR_Cancel   (8|MxtCR_IsOther)
#define MxtCR_ChangeCurrentElem   (11|MxtCR_IsOther)
#define MxtCR_ClearPosition   (7|MxtCR_IsOther)
#define MxtCR_CreateBegin   (35|MxtCR_IsBegin)
#define MxtCR_CreateContinue   (35|MxtCR_IsContinue)
#define MxtCR_CreateEnd   (35|MxtCR_IsEnd)
#define MxtCR_CreateTool   MxtCR_CreateBegin
#define MxtCR_Destroy   (10|MxtCR_IsDestroy)
#define MxtCR_EditBegin   (34|MxtCR_IsBegin)
#define MxtCR_EditContinue   (34|MxtCR_IsContinue)
#define MxtCR_EditEnd   (34|MxtCR_IsEnd)
#define MxtCR_IsActivate   0x01000000
#define MxtCR_IsBegin   0x10000000
#define MxtCR_IsContinue   0x20000000
#define MxtCR_IsDestroy   0x02000000
#define MxtCR_IsEnd   0x40000000
#define MxtCR_IsOther   0x80000000
#define MxtCR_Manage   (5|MxtCR_IsOther)
#define MxtCR_MoveBegin   (30|MxtCR_IsBegin)
#define MxtCR_MoveContinue   (30|MxtCR_IsContinue)
#define MxtCR_MoveEnd   (30|MxtCR_IsEnd)
#define MxtCR_NewLimits   (3|MxtCR_IsOther)
#define MxtCR_NoReason   (0|MxtCR_IsOther)
#define MxtCR_ReasonMask   0xFF000000
#define MxtCR_ResizeBegin   (31|MxtCR_IsBegin)
#define MxtCR_ResizeContinue   (31|MxtCR_IsContinue)
#define MxtCR_ResizeEnd   (31|MxtCR_IsEnd)
#define MxtCR_RotateBegin   (32|MxtCR_IsBegin)
#define MxtCR_RotateContinue   (32|MxtCR_IsContinue)
#define MxtCR_RotateEnd   (32|MxtCR_IsEnd)
#define MxtCR_SelectPosition   (4|MxtCR_IsOther)
#define MxtCR_SetValues   (2|MxtCR_IsOther)
#define MxtCR_ShearBegin   (33|MxtCR_IsBegin)
#define MxtCR_ShearContinue   (33|MxtCR_IsContinue)
#define MxtCR_ShearEnd   (33|MxtCR_IsEnd)
#define MxtCR_SnapCoord   (9|MxtCR_IsOther)
#define MxtCR_Trace   (36|MxtCR_IsOther)
#define MxtCR_Unmanage   (6|MxtCR_IsOther)
#define MxtFLAG_AllowCancelBtn   0x00004000
#define MxtFLAG_CanMoveOff   0x00400000
#define MxtFLAG_DialogManipMask   0xF8000200
#define MxtFLAG_EnableDialog   0x40000000
#define MxtFLAG_EnableGPS   0x08000000
#define MxtFLAG_EnableManual   0x20000000
#define MxtFLAG_EnableSnapGrid   0x80000000
#define MxtFLAG_EnableXYDig   0x10000000
#define MxtFLAG_ForceActivate   0x00002000
#define MxtFLAG_ForceManual   0x00000800
#define MxtFLAG_HalfStepDeltas   0x00001000
#define MxtFLAG_NoCreate   0x00200000
#define MxtFLAG_NoDialog   0x00008000
#define MxtFLAG_NoElemHeight   0x00000200
#define MxtFLAG_NoExposeResize   0x00040000
#define MxtFLAG_NoManualProj   0x04000000
#define MxtFLAG_NoMove   0x00000400
#define MxtFLAG_NoResetDialog   0x00020000
#define MxtFLAG_NoResize   0x00100000
#define MxtFLAG_NoRotate   0x00800000
#define MxtFLAG_NoSaveB   0x00080000
#define MxtFLAG_NotifyMotion   0x00010000
#define MxtMARKER_ArrowIn   2
#define MxtMARKER_ArrowOut   3
#define MxtMARKER_Circle   5
#define MxtMARKER_Flat   6
#define MxtMARKER_None   4
#define MxtMARKER_Plus   1
#define MxtMARKER_Square   7
#define MxtMARKER_X   0

Typedefs

typedef void * MXTHANDLE

Functions

int MxtAddCallback (MXTHANDLE vmxt, McbCallbackFunc func, void *udata, UINT32 reason)
void MxtCallActivateCallback (MXTHANDLE mxt)
int MxtCallbackAddExt (MXTHANDLE vmxt, McbCallbackFunc func, void *udata, UINT32 reason, INT8 priority)
void MxtCallChangeCallback (MXTHANDLE mxt, UINT32 reason)
void MxtClearPosition (MXTHANDLE mxt)
MXTHANDLE MxtCreate (Widget pwidget, MXTHANDLE(*CreateFunc)(UINT32, void *), UINT32 flags)
MXTHANDLE MxtCreateCrossHair (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEArc (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEBox (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEBreakLine (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateECircle (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEEllipse (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateELine (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEMBox (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEMultiPoint (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEMultiPolyLine (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateENode (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEPoint (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateEPolyLine (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateERegion (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateERegPoly (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateETextLabel (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateFollowPoint (Widget dawidget, UINT32 flags=0)
MXTHANDLE MxtCreateSelectPoint (Widget dawidget, UINT32 flags=0)
MXTHANDLE mxtCrossHair (UINT32 flags, void *pwidget)
void MxtDestroy (MXTHANDLE mxt)
void MxtDrawGraphic (MXTHANDLE vmxt, const LRECT2D *rect)
MXTHANDLE mxtEArc (UINT32 flags, void *pwidget)
MXTHANDLE mxtEBox (UINT32 flags, void *pwidget)
MXTHANDLE mxtEBreakLine (UINT32 flags, void *pwidget)
MXTHANDLE mxtECircle (UINT32 flags, void *pwidget)
int MxtEditGlobalOptions (Widget pwidget)
MXTHANDLE mxtEEllipse (UINT32 flags, void *pwidget)
MXTHANDLE mxtELine (UINT32 flags, void *pwidget)
MXTHANDLE mxtEMBox (UINT32 flags, void *pwidget)
MXTHANDLE mxtEMultiPoint (UINT32 flags, void *pwidget)
MXTHANDLE mxtEMultiPolyLine (UINT32 flags, void *pwidget)
void MxtEnableGps (Widget pwidget, int enabled)
MXTHANDLE mxtENode (UINT32 flags, void *pwidget)
MXTHANDLE mxtEPoint (UINT32 flags, void *pwidget)
MXTHANDLE mxtEPolyLine (UINT32 flags, void *pwidget)
MXTHANDLE mxtERegion (UINT32 flags, void *pwidget)
MXTHANDLE mxtERegPoly (UINT32 flags, void *pwidget)
MXTHANDLE mxtETextLabel (UINT32 flags, void *pwidget)
MXTHANDLE mxtFollowPoint (UINT32 flags, void *pwidget)
void MxtFreeValues (MXTHANDLE mxt, void *toolvalues)
Widget MxtGenerateManualForm (MXTHANDLE vmxt, Widget parent)
int MxtGenerateRegion (MXTHANDLE vmxt, REGION2D &region, UINT32 flags)
Widget MxtGenerateSpatialForm (MXTHANDLE vmxt, Widget parent)
Widget MxtGenerateToolForm (MXTHANDLE vmxt, Widget parent)
void MxtGetArrowKeyDeltas (MXTHANDLE mxt, double *delta_x, double *delta_y)
int MxtGetBounds (MXTHANDLE mxt, DRECT2D *rect)
MXTHANDLE MxtGetCurrentTool (MXTHANDLE mxt)
UINT32 MxtGetFlags (MXTHANDLE mxt)
void MxtGetGlobalColor (int *UseTool, COLOR *color, COLOR *seccolor, int *LineWidth)
int MxtGetManualMode (MXTHANDLE mxt)
void MxtGetManualParms (MXTHANDLE mxt, MANUALTOOLPARMS *mtparms)
UINT32 MxtGetReasonClass (UINT32 reason)
void MxtGetSnapGrid (MXTHANDLE mxt, SNAPGRIDPARMS *snapgrid)
int MxtGetSnapGridMode (MXTHANDLE mxt)
GC MxtGetToolGC (MXTHANDLE mxt)
int MxtGetToolSize (MXTHANDLE mxt)
void * MxtGetUserData (MXTHANDLE mxt)
int MxtGetValues (MXTHANDLE mxt, void *toolvalues)
int MxtGetXYDigitizerMode (MXTHANDLE mxt)
int MxtHasPosition (MXTHANDLE mxt)
int MxtInBgUpdateCall (MXTHANDLE mxt)
int MxtIsManaged (MXTHANDLE mxt)
int MxtIsSuspended (MXTHANDLE mxt)
int MxtIsTrackingGps (MXTHANDLE mxt)
void MxtManage (MXTHANDLE mxt)
int MxtManualViewCoordRefSysSet (MXTHANDLE vmxt, const SPATREF::COORDREFSYS &ViewCoordRefSys, bool ForceProj)
void MxtMove (MXTHANDLE mxt, double dx, double dy, XAnyEvent *event, UINT32 flags)
void MxtRaiseWindow (MXTHANDLE vmxt)
void MxtRemoveCallback (MXTHANDLE vmxt, McbCallbackFunc func, void *udata, UINT32 reason)
void MxtResize (MXTHANDLE mxt, double dx, double dy, XAnyEvent *event, UINT32 flags)
void MxtResume (MXTHANDLE mxt)
void MxtRotate (MXTHANDLE mxt, double drot, XAnyEvent *event, UINT32 flags)
void MxtSaveGlobalColor (char *group)
MXTHANDLE mxtSelectPoint (UINT32 flags, void *pwidget)
void MxtSetActivateCallback (MXTHANDLE mxt, void(*CBFunc)(MxtAnyCallbackStruct *, void *), void *udata)
void MxtSetArrowKeyDeltas (MXTHANDLE mxt, double delta_x, double delta_y)
void MxtSetBgUpdateFunc (Widget pwidget, void(*UpdBg)(Widget, DRECT2D *, void *), void *udata)
void MxtSetBounds (MXTHANDLE mxt, DRECT2D *rect, UINT32 flags)
void MxtSetChangeCallback (MXTHANDLE mxt, void(*CBFunc)(MxtAnyCallbackStruct *, void *), void *udata)
int MxtSetDialogPosition (MXTHANDLE vmxt, int NewPosn)
void MxtSetFlags (MXTHANDLE mxt, UINT32 flags)
void MxtSetGlobalColor (Widget parent, int UseTool, const COLOR &color, const COLOR &seccolor, int LineWidth)
void MxtSetGpsSource (MXTHANDLE vmxt, void *vNewSource)
void MxtSetHelpString (MXTHANDLE mxt, char *helpstr)
void MxtSetManualMode (MXTHANDLE mxt, int setflag)
int MxtSetManualParms (MXTHANDLE mxt, MANUALTOOLPARMS *mtparms)
int MxtSetOutputTrans (MXTHANDLE vmxt, TRANSPARM *tparm)
int MxtSetSnapGrid (MXTHANDLE mxt, SNAPGRIDPARMS *snapgrid)
void MxtSetSnapGridMode (MXTHANDLE mxt, int setflag)
void MxtSetToolColor (MXTHANDLE vmxt, COLOR *color, COLOR *seccolor, int LineWidth)
void MxtSetTrans2D (MXTHANDLE mxt, const MAT3X3 OtoD, const MAT3X3 DtoO)
void MxtSetUserData (MXTHANDLE mxt, void *udata)
int MxtSetValues (MXTHANDLE mxt, void *toolvalues, int notify)
void MxtSetWindowButtonRow (MXTHANDLE mxt, BUTTONITEM *buttonrow, void *udata)
void MxtSetWindowFormCallback (MXTHANDLE mxt, int(*AddToForm)(Widget, void *), void *udata)
void MxtSetWindowSaveButton (MXTHANDLE mxt, char *savebutton)
void MxtSetWindowTitle (MXTHANDLE mxt, TEXTID textid)
void MxtSetXORPixel (MXTHANDLE mxt, Pixel pixel)
void MxtSetXYDigitizerMode (MXTHANDLE mxt, int setflag)
void MxtSetXYDtoObjectTrans (MXTHANDLE mxt, TRANSFUNC tfunc, void *udata)
void MxtShear (MXTHANDLE mxt, double dshear, XAnyEvent *event, UINT32 flags)
void MxtSuspend (MXTHANDLE mxt)
void MxtTrackGps (MXTHANDLE vmxt, int track)
void MxtUnmanage (MXTHANDLE mxt)
 PREVENT_MEMFUNC (EREGIONINFO)
 PREVENT_MEMFUNC (ETEXTLABELINFO)


Detailed Description

<mi32/mxtools.h> Definitions for MicroImages library tool functions

Definition in file mxtools.h.


Define Documentation

#define MxCROSSHAIR_NoBar0   0x00000001
 

Do not draw 0 degree bar.

Definition at line 494 of file mxtools.h.

#define MxCROSSHAIR_NoBar180   0x00000004
 

Do not draw 180 degree bar.

Definition at line 496 of file mxtools.h.

#define MxCROSSHAIR_NoBar270   0x00000008
 

Do not draw 270 degree bar.

Definition at line 497 of file mxtools.h.

#define MxCROSSHAIR_NoBar90   0x00000002
 

Do not draw 90 degree bar.

Definition at line 495 of file mxtools.h.

#define MxCROSSHAIR_SnapInside   0x00000010
 

Snap crosshair to cursor in "inside" zone.

Definition at line 498 of file mxtools.h.

#define MxEARC_EditChord   0x00000008
 

Definition at line 479 of file mxtools.h.

#define MxEARC_EditWedge   0x00000004
 

Definition at line 478 of file mxtools.h.

#define MxEARC_Rmax   0x00000002
 

Definition at line 477 of file mxtools.h.

#define MxEARC_Rmin   0x00000001
 

Flags for what is initially set in EARCINFO structure.

Definition at line 476 of file mxtools.h.

#define MxEBOX_AllCorners   0x00000002
 

All corner locations set (DEFAULT).

Definition at line 293 of file mxtools.h.

#define MxEBOX_CanFlipBoth   (MxEBOX_CanFlipHorz|MxEBOX_CanFlipVert)
 

Definition at line 303 of file mxtools.h.

#define MxEBOX_CanFlipHorz   0x00000100
 

Allow user to flip box horizontally.

Definition at line 301 of file mxtools.h.

#define MxEBOX_CanFlipVert   0x00000200
 

Allow user to flip box vertically.

Definition at line 302 of file mxtools.h.

#define MxEBOX_Corner0   0x00000010
 

Corner 0, size and angle set.

Definition at line 296 of file mxtools.h.

#define MxEBOX_Corner1   0x00000020
 

Corner 1, size and angle set.

Definition at line 297 of file mxtools.h.

#define MxEBOX_Corner2   0x00000040
 

Corner 2, size and angle set.

Definition at line 298 of file mxtools.h.

#define MxEBOX_Corner3   0x00000080
 

Corner 3, size and angle set.

Definition at line 299 of file mxtools.h.

#define MxEBOX_Proport   0x00000004
 

Definition at line 294 of file mxtools.h.

#define MxEBOX_Range   0x00000001
 

Range fields (xinit, yinit, xlast, ylast) set.

Definition at line 292 of file mxtools.h.

#define MxECIRCLE_Rmax   0x00000002
 

Definition at line 437 of file mxtools.h.

#define MxECIRCLE_Rmin   0x00000001
 

Flag bits.

Definition at line 436 of file mxtools.h.

#define MxECIRCLE_RotationBar   0x00000004
 

Circle has rotation bar.

Definition at line 438 of file mxtools.h.

#define MxEELLIPSE_Rmax   0x00000002
 

Definition at line 517 of file mxtools.h.

#define MxEELLIPSE_Rmin   0x00000001
 

Flags for what is initially set in EELLIPSEINFO structure.

Definition at line 516 of file mxtools.h.

#define MxEMBOX_DontShowBasePt   0x00000002
 

Do not draw insertion/base point chosshair.

Definition at line 636 of file mxtools.h.

#define MxEMBOX_Proport   0x00000001
 

Definition at line 635 of file mxtools.h.

#define MxEMULTILINE_CanChgLinePolyMode   0x00000040
 

User can toggle between polygon and line modes.

Definition at line 370 of file mxtools.h.

#define MxEMULTILINE_EditPoly   0x00000001
 

Edit polygon.

Definition at line 363 of file mxtools.h.

#define MxEMULTILINE_EnableResetB   0x00000004
 

Enable tool reset button.

Definition at line 365 of file mxtools.h.

#define MxEMULTILINE_LineIs3D   0x00000002
 

Tool thinks line is 3D, until Is3D variable is changed.

Definition at line 364 of file mxtools.h.

#define MxEMULTILINE_NoClearB   0x00000008
 

Don't show clear button.

Definition at line 366 of file mxtools.h.

#define MxEMULTILINE_NoClosePolyB   0x00000010
 

Don't show close poly button.

Definition at line 368 of file mxtools.h.

#define MxEMULTILINE_NoEditZValue   0x00000080
 

Don't let user edit z value.

Definition at line 371 of file mxtools.h.

#define MxEMULTILINE_SingleLineOnly   0x00000100
 

Don't allow multi-line editing.

Definition at line 373 of file mxtools.h.

#define MxEMULTILINE_UseCurveFit   0x00000020
 

Edit a curve fit.

Definition at line 369 of file mxtools.h.

#define MxEMULTIPOINT_NoEditZValue   0x00000001
 

Don't let user edit z value.

Definition at line 400 of file mxtools.h.

#define MxEMULTIPOINT_SinglePointOnly   0x00000002
 

Don't allow multi-point editing.

Definition at line 401 of file mxtools.h.

#define MxEPOINT_NoEditZValue   0x00000001
 

Don't let user edit z value.

Definition at line 385 of file mxtools.h.

#define MxEPOLYLINE_CanChgLinePolyMode   0x00000100
 

User can toggle between polygon and line modes.

Definition at line 339 of file mxtools.h.

#define MxEPOLYLINE_EditPoly   0x00000001
 

Edit polygon.

Definition at line 329 of file mxtools.h.

#define MxEPOLYLINE_EnableProfile   0x00000004
 

Enable profile option.

Definition at line 331 of file mxtools.h.

#define MxEPOLYLINE_EnableResetB   0x00000010
 

Enable tool reset button.

Definition at line 334 of file mxtools.h.

#define MxEPOLYLINE_EnableTrace   0x00000008
 

Enable trace button.

Definition at line 332 of file mxtools.h.

#define MxEPOLYLINE_NoClearB   0x00000020
 

Don't show clear button.

Definition at line 335 of file mxtools.h.

#define MxEPOLYLINE_NoClosePolyB   0x00000040
 

Don't show close poly button.

Definition at line 336 of file mxtools.h.

#define MxEPOLYLINE_NoEditZValue   0x00000200
 

Don't let user edit z value.

Definition at line 340 of file mxtools.h.

#define MxEPOLYLINE_UseCurveFit   0x00000080
 

Edit a curve fit.

Definition at line 337 of file mxtools.h.

#define MxEPOLYLINE_UseSnapCoord   0x00000002
 

Use the snap coord callback reason to allow snapping vertices.

Definition at line 330 of file mxtools.h.

#define MxEREGION_NoMove   0x00000001
 

Definition at line 648 of file mxtools.h.

#define MxEREGPOLY_Rmax   0x00000002
 

Definition at line 456 of file mxtools.h.

#define MxEREGPOLY_Rmin   0x00000001
 

Flag bits.

Definition at line 455 of file mxtools.h.

#define MxETEXTLABEL_NoAdvanced   0x00000002
 

Do not allow advanced style button.

Definition at line 598 of file mxtools.h.

#define MxETEXTLABEL_NoBaselineEdit   0x00000004
 

Do not allow baseline to be edited.

Definition at line 599 of file mxtools.h.

#define MxETEXTLABEL_NoLeaderLines   0x00000001
 

Do not allow editing of leader lines.

Definition at line 597 of file mxtools.h.

#define MxETEXTLABEL_NoStylePanel   0x00000008
 

Do not allow the style panel to be created.

Definition at line 600 of file mxtools.h.

#define MXT_ADD _clsname   )     inline void MxtCallbackAdd (MXTHANDLE vmxt, void (*f)(MxtAnyCallbackStruct*,_clsname*), UINT32 flags) const { MxtAddCallback(vmxt,reinterpret_cast<McbCallbackFunc>(f),const_cast<_clsname*>(this),(flags)); }
 

Macros for defining class methods to add Mxt callbacks.

Definition at line 653 of file mxtools.h.

#define MXT_REMOVE _clsname   )     inline void MxtCallbackRemove (MXTHANDLE vmxt, void (*f)(MxtAnyCallbackStruct*,_clsname*), UINT32 flags) const { MxtRemoveCallback(vmxt,reinterpret_cast<McbCallbackFunc>(f),const_cast<_clsname*>(this),(flags)); }
 

Definition at line 654 of file mxtools.h.

#define MxtADJUST_Absolute   0x0001
 

Definition at line 118 of file mxtools.h.

#define MxtADJUST_Notify   0x8000
 

Definition at line 121 of file mxtools.h.

#define MxtADJUST_Relative   0x0000
 

Definition at line 117 of file mxtools.h.

#define MxtADJUST_ScreenCoords   0x0002
 

Definition at line 120 of file mxtools.h.

#define MxtADJUST_ToolCoords   0x0000
 

Definition at line 119 of file mxtools.h.

#define MxtBOUND_FullRect   0x0F000000
 

Definition at line 251 of file mxtools.h.

#define MxtBOUND_Xmax   0x04000000
 

Definition at line 249 of file mxtools.h.

#define MxtBOUND_Xmin   0x01000000
 

Definition at line 247 of file mxtools.h.

#define MxtBOUND_Ymax   0x08000000
 

Definition at line 250 of file mxtools.h.

#define MxtBOUND_Ymin   0x02000000
 

Definition at line 248 of file mxtools.h.

#define MxtCR_Activate   (1|MxtCR_IsOther|MxtCR_IsActivate)
 

Definition at line 135 of file mxtools.h.

#define MxtCR_Cancel   (8|MxtCR_IsOther)
 

Definition at line 142 of file mxtools.h.

#define MxtCR_ChangeCurrentElem   (11|MxtCR_IsOther)
 

Definition at line 145 of file mxtools.h.

#define MxtCR_ClearPosition   (7|MxtCR_IsOther)
 

Definition at line 141 of file mxtools.h.

#define MxtCR_CreateBegin   (35|MxtCR_IsBegin)
 

Definition at line 162 of file mxtools.h.

#define MxtCR_CreateContinue   (35|MxtCR_IsContinue)
 

Definition at line 163 of file mxtools.h.

#define MxtCR_CreateEnd   (35|MxtCR_IsEnd)
 

Definition at line 164 of file mxtools.h.

#define MxtCR_CreateTool   MxtCR_CreateBegin
 

Compatibility to old stuff.

Definition at line 167 of file