|
Task Details |
BPoint Class |
|
BPoint();
|
|
BPoint(float X, float Y);
|
|
BPoint(const BPoint& pt);
|
|
BPoint& operator=(const BPoint& from);
|
|
void Set(float X, float Y);
|
|
void ConstrainTo(BRect rect);
|
|
void PrintToStream() const;
|
|
BPoint operator+(const BPoint&) const;
|
|
BPoint operator-(const BPoint&) const;
|
|
BPoint& operator+=(const BPoint&);
|
|
BPoint& operator-=(const BPoint&);
|
|
bool operator!=(const BPoint&) const;
|
|
bool operator==(const BPoint&) const;
|
BPolygon Class |
|
BPolygon(const BPoint* ptArray, int32 numPoints);
|
|
BPolygon();
|
|
BPolygon(const BPolygon* poly);
|
|
virtual ~BPolygon();
|
|
BPolygon& operator=(const BPolygon& from);
|
|
BRect Frame() const;
|
|
void AddPoints(const BPoint* ptArray, int32 numPoints);
|
|
int32 CountPoints() const;
|
|
void MapTo(BRect srcRect, BRect dstRect);
|
|
void PrintToStream() const;
|
BRect Class |
|
BRect();
|
|
BRect(const BRect &);
|
|
BRect(float l, float t, float r, float b);
|
|
BRect(BPoint leftTop, BPoint rightBottom);
|
|
BRect& operator=(const BRect &from);
|
|
void Set(float l, float t, float r, float b);
|
|
void PrintToStream() const;
|
|
BPoint LeftTop() const;
|
|
BPoint RightBottom() const;
|
|
BPoint LeftBottom() const;
|
|
BPoint RightTop() const;
|
|
void SetLeftTop(const BPoint);
|
|
void SetRightBottom(const BPoint);
|
|
void SetLeftBottom(const BPoint);
|
|
void SetRightTop(const BPoint);
|
|
void InsetBy(BPoint);
|
|
void InsetBy(float dx, float dy);
|
|
void OffsetBy(BPoint);
|
|
void OffsetBy(float dx, float dy);
|
|
void OffsetTo(BPoint);
|
|
void OffsetTo(float x, float y);
|
|
BRect& InsetBySelf(BPoint);
|
|
BRect& InsetBySelf(float dx, float dy);
|
|
BRect InsetByCopy(BPoint);
|
|
BRect InsetByCopy(float dx, float dy);
|
|
BRect& OffsetBySelf(BPoint);
|
|
BRect& OffsetBySelf(float dx, float dy);
|
|
BRect OffsetByCopy(BPoint);
|
|
BRect OffsetByCopy(float dx, float dy);
|
|
BRect& OffsetToSelf(BPoint);
|
|
BRect& OffsetToSelf(float dx, float dy);
|
|
BRect OffsetToCopy(BPoint);
|
|
BRect OffsetToCopy(float dx, float dy);
|
|
bool operator==(BRect) const;
|
|
bool operator!=(BRect) const;
|
|
BRect operator&(BRect) const;
|
|
BRect operator|(BRect) const;
|
|
bool Intersects(BRect r) const;
|
|
bool IsValid() const;
|
|
float Width() const;
|
|
int32 IntegerWidth() const;
|
|
float Height() const;
|
|
int32 IntegerHeight() const;
|
|
bool Contains(BPoint) const;
|
|
bool Contains(BRect) const;
|
BRegion Class |
|
BRegion();
|
|
BRegion(const BRegion ®ion);
|
|
BRegion(const BRect rect);
|
|
virtual ~BRegion();
|
|
BRegion& operator=(const BRegion &from);
|
|
BRect Frame() const;
|
|
clipping_rect FrameInt() const;
|
|
BRect RectAt(int32 index);
|
|
clipping_rect RectAtInt(int32 index);
|
|
int32 CountRects();
|
|
void Set(BRect newBounds);
|
|
void Set(clipping_rect newBounds);
|
|
bool Intersects(BRect r) const;
|
|
bool Intersects(clipping_rect r) const;
|
|
bool Contains(BPoint pt) const;
|
|
bool Contains(int32 x, int32 y);
|
|
void PrintToStream() const;
|
|
void OffsetBy(int32 dh, int32 dv);
|
|
void MakeEmpty();
|
|
void Include(BRect r);
|
|
void Include(clipping_rect r);
|
|
void Include(const BRegion*);
|
|
void Exclude(BRect r);
|
|
void Exclude(clipping_rect r);
|
|
void Exclude(const BRegion*);
|
|
void IntersectWith(const BRegion*);
|