BShape: Style fixes for docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006-2007, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2002-2010 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SHAPE_H
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <Archivable.h>
|
||||
|
||||
|
||||
class BPoint;
|
||||
class BRect;
|
||||
class BShape;
|
||||
@@ -25,9 +26,9 @@ public:
|
||||
|
||||
virtual status_t IterateMoveTo(BPoint* point);
|
||||
virtual status_t IterateLineTo(int32 lineCount,
|
||||
BPoint* linePts);
|
||||
BPoint* linePoints);
|
||||
virtual status_t IterateBezierTo(int32 bezierCount,
|
||||
BPoint* bezierPts);
|
||||
BPoint* bezierPoints);
|
||||
virtual status_t IterateClose();
|
||||
|
||||
virtual status_t IterateArcTo(float& rx, float& ry,
|
||||
@@ -81,7 +82,7 @@ public:
|
||||
|
||||
private:
|
||||
// FBC padding
|
||||
virtual status_t Perform(perform_code code, void* data);
|
||||
virtual status_t Perform(perform_code code, void* data);
|
||||
|
||||
virtual void _ReservedShape1();
|
||||
virtual void _ReservedShape2();
|
||||
@@ -96,10 +97,10 @@ private:
|
||||
friend class BPrivate::ServerLink;
|
||||
|
||||
void GetData(int32* opCount, int32* ptCount,
|
||||
uint32** opList, BPoint** ptList);
|
||||
uint32** opList, BPoint** pointsList);
|
||||
void SetData(int32 opCount, int32 ptCount,
|
||||
const uint32* opList,
|
||||
const BPoint* ptList);
|
||||
const BPoint* pointsList);
|
||||
void InitData();
|
||||
bool AllocatePts(int32 count);
|
||||
bool AllocateOps(int32 count);
|
||||
@@ -112,4 +113,5 @@ private:
|
||||
uint32 reserved[4];
|
||||
};
|
||||
|
||||
|
||||
#endif // _SHAPE_H
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
/*
|
||||
* Copyright 2003-2010, Haiku.
|
||||
* Copyright 2003-2010 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Adrian Oanca <[email protected]>
|
||||
* Axel Dörfler, [email protected]
|
||||
* Adrian Oanca, [email protected]
|
||||
*/
|
||||
#ifndef SHAPE_PRIVATE_H
|
||||
#define SHAPE_PRIVATE_H
|
||||
|
||||
|
||||
#define OP_LINETO 0x10000000
|
||||
#define OP_BEZIERTO 0x20000000
|
||||
#define OP_CLOSE 0x40000000
|
||||
@@ -20,12 +21,13 @@
|
||||
|
||||
|
||||
struct shape_data {
|
||||
uint32 *opList;
|
||||
uint32* opList;
|
||||
int32 opCount;
|
||||
int32 opSize;
|
||||
BPoint *ptList;
|
||||
BPoint* ptList;
|
||||
int32 ptCount;
|
||||
int32 ptSize;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // SHAPE_PRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user