wxArt2D
Classes | Macros
wire.cpp File Reference
#include "a2dprec.h"
#include "wx/wx.h"
#include "wx/canvas/polygon.h"
#include "wx/canvas/wire.h"
#include <float.h>
#include "wx/canvas/canobj.h"
#include "wx/canvas/drawer.h"
#include "wx/canvas/canvas.h"
#include "wx/canvas/tools.h"
#include "wx/canvas/canglob.h"
Include dependency graph for wire.cpp:

Go to the source code of this file.

Classes

class  a2dCommand_VirtWire
 specialized command using the Assign method of Taco to transfer changes in editcopy to original. More...
 

Macros

#define BBOX2XYWH(bbox)   (bbox).GetMinX(), (bbox).GetMinY(), (bbox).GetWidth(), (bbox).GetHeight()
 
#define DIRECT   0
 
#define INVERSE   1
 
#define LEFT   0x00
 
#define RIGHT   0x01
 
#define BOTTOM   0x02
 
#define TOP   0x03
 
#define EQSIGN(x1, x2, x3, x4)   ( ( x2 - x1 ) * ( x3 - x4 ) > 0 )
 
#define CODE(x, y, w, h, px, py, c)
 

Detailed Description

Author
Michael S�trop

Copyright: 2003-2004 (c) Michael S�trop

Licence: wxWidgets Licence

RCS-ID:

Id:
wire.cpp,v 1.71 2008/11/09 11:16:53 bionic-badger Exp

Definition in file wire.cpp.

Macro Definition Documentation

#define CODE (   x,
  y,
  w,
  h,
  px,
  py,
 
)
Value:
{ \
c = 0x00; \
if ( px < x ) c = 0x01; \
else if ( px >= x + w ) c = 0x02; \
if ( py < y ) c |= 0x04; \
else if ( py >= y + h ) c |= 0x08; \
}

Definition at line 1587 of file wire.cpp.

wire.cpp File Reference -- Sun Oct 12 2014 17:04:27 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation