moved Shape related defines to their own header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,29 +16,13 @@
|
||||
#include <Point.h>
|
||||
#include <Rect.h>
|
||||
|
||||
#include <ShapePrivate.h>
|
||||
|
||||
#include <new>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
// NOTE: changing these defines will break Painter,
|
||||
// currently located in src/servers/app/drawing/Painter/Painter.cpp
|
||||
#define OP_LINETO 0x10000000
|
||||
#define OP_BEZIERTO 0x20000000
|
||||
#define OP_CLOSE 0x40000000
|
||||
#define OP_MOVETO 0x80000000
|
||||
|
||||
|
||||
struct shape_data {
|
||||
uint32 *opList;
|
||||
int32 opCount;
|
||||
int32 opSize;
|
||||
int32 opBlockSize;
|
||||
BPoint *ptList;
|
||||
int32 ptCount;
|
||||
int32 ptSize;
|
||||
int32 ptBlockSize;
|
||||
};
|
||||
|
||||
|
||||
BShapeIterator::BShapeIterator()
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <MessageUtils.h>
|
||||
#include <PortLink.h>
|
||||
#include <ServerProtocol.h>
|
||||
#include <ShapePrivate.h>
|
||||
#include <TokenSpace.h>
|
||||
#include <ViewPrivate.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user