Home
last modified time | relevance | path

Searched refs:pt2 (Results 1 – 11 of 11) sorted by relevance

/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp298 BPoint pt2 = r.LeftBottom(); in _DrawFrame() local
301 fDrawingEngine->StrokeLine(offset, pt2, fFrameLowerColor); in _DrawFrame()
303 pt2.x++; in _DrawFrame()
304 pt2.y--; in _DrawFrame()
306 fDrawingEngine->StrokeLine(offset, pt2, fFrameHighColor); in _DrawFrame()
308 pt2.x++; in _DrawFrame()
309 pt2.y--; in _DrawFrame()
311 fDrawingEngine->StrokeLine(offset, pt2, fFrameMidColor); in _DrawFrame()
313 pt2.x++; in _DrawFrame()
314 fDrawingEngine->StrokeLine(offset, pt2, fFrameMidColor); in _DrawFrame()
[all …]
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1477 BPoint pt1, pt2, pt3; in DrawIconScrollers() local
1480 pt2.x = pt3.x = pt1.x + 3; in DrawIconScrollers()
1481 pt2.y = pt1.y - 3; in DrawIconScrollers()
1486 FillTriangle(pt1, pt2, pt3); in DrawIconScrollers()
1489 FillRect(BRect(pt1.x, pt2.y, pt3.x, pt3.y)); in DrawIconScrollers()
1493 BPoint pt1, pt2, pt3; in DrawIconScrollers() local
1496 pt2.x = pt3.x = pt1.x - 4; in DrawIconScrollers()
1497 pt2.y = pt1.y - 4; in DrawIconScrollers()
1502 FillTriangle(pt1, pt2, pt3); in DrawIconScrollers()
1505 FillRect(BRect(pt3.x, pt2.y, pt1.x, pt3.y)); in DrawIconScrollers()
[all …]
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h117 BRect StrokeTriangle(BPoint pt1, BPoint pt2,
120 BRect FillTriangle(BPoint pt1, BPoint pt2,
122 BRect FillTriangle(BPoint pt1, BPoint pt2,
272 BRect _DrawTriangle(BPoint pt1, BPoint pt2,
H A DPainter.cpp646 Painter::StrokeTriangle(BPoint pt1, BPoint pt2, BPoint pt3) const in StrokeTriangle() argument
648 return _DrawTriangle(pt1, pt2, pt3, false); in StrokeTriangle()
654 Painter::FillTriangle(BPoint pt1, BPoint pt2, BPoint pt3) const in FillTriangle() argument
656 return _DrawTriangle(pt1, pt2, pt3, true); in FillTriangle()
662 Painter::FillTriangle(BPoint pt1, BPoint pt2, BPoint pt3, in FillTriangle() argument
668 _Align(&pt2); in FillTriangle()
674 fPath.line_to(pt2.x, pt2.y); in FillTriangle()
1610 Painter::_DrawTriangle(BPoint pt1, BPoint pt2, BPoint pt3, bool fill) const in _DrawTriangle() argument
1615 _Align(&pt2); in _DrawTriangle()
1621 fPath.line_to(pt2.x, pt2.y); in _DrawTriangle()
/haiku/src/tests/servers/app/painter/
H A DPainter.h82 BPoint pt2,
87 BPoint pt2,
233 BPoint pt2,
H A DPainter.cpp405 Painter::StrokeTriangle(BPoint pt1, BPoint pt2, BPoint pt3, const pattern& p) const in StrokeTriangle() argument
407 _DrawTriangle(pt1, pt2, pt3, p, false); in StrokeTriangle()
412 Painter::FillTriangle(BPoint pt1, BPoint pt2, BPoint pt3, const pattern& p) const in FillTriangle() argument
414 _DrawTriangle(pt1, pt2, pt3, p, true); in FillTriangle()
1110 Painter::_DrawTriangle(BPoint pt1, BPoint pt2, BPoint pt3, in _DrawTriangle() argument
1114 _Transform(&pt2); in _DrawTriangle()
1120 path.line_to(pt2.x, pt2.y); in _DrawTriangle()
/haiku/src/apps/powerstatus/
H A DExtendedInfoWindow.cpp229 BPoint pt2((frame.left + frame.right + width) / 2.0, in DrawFocusMark() local
232 owner->StrokeLine(pt1, pt2); in DrawFocusMark()
/haiku/src/apps/magnify/
H A DMagnify.cpp1134 BPoint pt2(fMagView->CrossHair2Loc()); in Draw() local
1142 (int32)pt2.x, (int32)pt2.y); in Draw()
1146 abs((int)(pt1.x - pt2.x)), abs((int)(pt1.y - pt2.y))); in Draw()
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp472 BPoint pt2(x - (3 * j) + 2, y - (3 * (5 - i)) + 2); in _DrawResizeKnob() local
474 fDrawingEngine->StrokePoint(pt2, kWhite); in _DrawResizeKnob()
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp473 BPoint pt2(x - (3 * j) + 2, y - (3 * (5 - i)) + 2); in _DrawFrame() local
475 fDrawingEngine->StrokePoint(pt2, tint_color(colors[1], 0.75)); in _DrawFrame()
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp535 BPoint pt2(x - (3 * j) + 2, y - (3 * (5 - i)) + 2); in _DrawFrame() local
537 fDrawingEngine->StrokePoint(pt2, kWhite); in _DrawFrame()