Fixed and cleaned up BShape and BShapeIterator. They should now work and behave like the R5 version.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16230 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-02-04 22:11:57 +00:00
parent 57a6c095d5
commit ec56c2c1dc
2 changed files with 137 additions and 201 deletions
+6 -9
View File
@@ -1,12 +1,7 @@
/*******************************************************************************
/
/ File: Shape.h
/
/ Description: BShape encapsulates a Postscript-style "path"
/
/ Copyright 1992-98, Be Incorporated, All Rights Reserved
/
*******************************************************************************/
/*
* Copyright 2006, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SHAPE_H
#define _SHAPE_H
@@ -88,6 +83,8 @@ virtual void _ReservedShape4();
void GetData(int32 *opCount, int32 *ptCount, uint32 **opList, BPoint **ptList);
void SetData(int32 opCount, int32 ptCount, uint32 *opList, BPoint *ptList);
void InitData();
void AllocatePts(int32 count);
void AllocateOps(int32 count);
uint32 fState;
uint32 fBuildingOp;