guides.cpp File Reference

(r1785/r1315)

#include "camtypes.h"
#include "guides.h"
#include "snap.h"
#include "layer.h"
#include "sprdmsg.h"
#include "qualattr.h"
#include "camview.h"
#include "contmenu.h"
#include "usercord.h"
#include "layermsg.h"
#include "saveeps.h"
#include "nativeps.h"
#include "keypress.h"
#include "prpsgds.h"
#include "snapops.h"
#include "csrstack.h"
#include "toollist.h"
#include "cxftags.h"
#include "page.h"
#include "optsgrid.h"
#include "statline.h"

Go to the source code of this file.

Defines

#define Swap(a, b)   { (a)^=(b), (b)^=(a), (a)^=(b); }
#define MAX_INT   (0x01000000)
#define MIN_INT   (0xf0000000)
#define GUIDE_CURSORID_UNSET   -1
#define new   CAM_DEBUG_NEW

Functions

static MILLIPOINT abs_milli (MILLIPOINT n)
static void PullOntoStep (INT32 *pMin, INT32 *pMax, INT32 Dist)


Define Documentation

#define GUIDE_CURSORID_UNSET   -1
 

Definition at line 169 of file guides.cpp.

#define MAX_INT   (0x01000000)
 

Definition at line 166 of file guides.cpp.

#define MIN_INT   (0xf0000000)
 

Definition at line 167 of file guides.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 187 of file guides.cpp.

#define Swap a,
 )     { (a)^=(b), (b)^=(a), (a)^=(b); }
 

Definition at line 164 of file guides.cpp.


Function Documentation

static MILLIPOINT abs_milli MILLIPOINT  n  )  [static]
 

Definition at line 162 of file guides.cpp.

00162 { if (n<0) return (0-n); else return (n);}

static void PullOntoStep INT32 *  pMin,
INT32 *  pMax,
INT32  Dist
[static]
 

Definition at line 207 of file guides.cpp.

00208 {
00209     if (Dist != 0)
00210     {
00211         *pMin -= *pMin % Dist;
00212         *pMax += Dist-(*pMax % Dist);
00213     }
00214 }


Generated on Sat Nov 10 03:49:11 2007 for Camelot by  doxygen 1.4.4