BPolygon: Style fixes for documentation.

This commit is contained in:
John Scipione
2014-05-21 16:12:47 -04:00
parent 82d885a82b
commit b955a4ca6b
2 changed files with 29 additions and 24 deletions
+7 -8
View File
@@ -9,10 +9,10 @@
#include <InterfaceDefs.h>
#include <Rect.h>
//namespace BPrivate { class BAffineTransform; }
//using namespace BPrivate;
class BPolygon {
public:
BPolygon(const BPoint* points, int32 count);
@@ -26,7 +26,7 @@ public:
BRect Frame() const;
void AddPoints(const BPoint* points, int32 count);
int32 CountPoints() const;
void MapTo(BRect srcRect, BRect dstRect);
void MapTo(BRect source, BRect destination);
void PrintToStream() const;
// void TransformBy(const BAffineTransform& transform);
@@ -41,11 +41,10 @@ private:
bool _AddPoints(const BPoint* points, int32 count,
bool computeBounds);
void _ComputeBounds();
void _MapPoint(BPoint* point, const BRect& srcRect,
const BRect& dstRect);
void _MapRectangle(BRect* rect,
const BRect& srcRect,
const BRect& dstRect);
void _MapPoint(BPoint* point, const BRect& source,
const BRect& destination);
void _MapRectangle(BRect* rect, const BRect& source,
const BRect& destination);
private:
BRect fBounds;
@@ -53,4 +52,4 @@ private:
BPoint* fPoints;
};
#endif // _POLYGON_H_
#endif // _POLYGON_H