Implmented a couple more methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6386 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1f6632d9a4
commit
5d0cc8ac2e
@ -1790,10 +1790,19 @@ void DisplayDriver::StrokePolygon(BPoint *ptlist, int32 numpts, DisplayDriver* d
|
||||
*/
|
||||
void DisplayDriver::StrokeRect(const BRect &r, RGBColor &color)
|
||||
{
|
||||
Lock();
|
||||
StrokeSolidRect(r,color);
|
||||
Unlock();
|
||||
}
|
||||
|
||||
void DisplayDriver::StrokeRect(const BRect &r, const DrawData *d)
|
||||
{
|
||||
Lock();
|
||||
StrokePatternLine(r.LeftTop(),r.RightTop(),d);
|
||||
StrokePatternLine(r.LeftTop(),r.LeftBottom(),d);
|
||||
StrokePatternLine(r.RightTop(),r.RightBottom(),d);
|
||||
StrokePatternLine(r.LeftBottom(),r.RightBottom(),d);
|
||||
Unlock();
|
||||
}
|
||||
|
||||
void DisplayDriver::StrokeRect(const BRect &r, DisplayDriver* driver, SetHorizontalLineFuncType setHLine, SetVerticalLineFuncType setVLine)
|
||||
|
Loading…
Reference in New Issue
Block a user