Home
last modified time | relevance | path

Searched refs:destinationRect (Results 1 – 7 of 7) sorted by relevance

/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapGeneric.h37 double scaleX, double scaleY, BRect destinationRect, uint32 options)
51 offset.x - destinationRect.left, offset.y - destinationRect.top);
53 imgMatrix *= agg::trans_affine_translation(destinationRect.left,
54 destinationRect.top);
72 destinationRect = destinationRect
76 destinationRect.right++;
77 destinationRect.bottom++;
84 path.move_to(destinationRect.left, destinationRect.top);
85 path.line_to(destinationRect.right, destinationRect.top);
86 path.line_to(destinationRect.right, destinationRect.bottom);
[all …]
H A DDrawBitmapNearestNeighbor.h18 double scaleX, double scaleY, BRect destinationRect) in Draw()
21 uint32 dstWidth = destinationRect.IntegerWidth() + 1; in Draw()
22 uint32 dstHeight = destinationRect.IntegerHeight() + 1; in Draw()
38 if (clippingRegion.Frame().left > destinationRect.left) { in Draw()
40 - destinationRect.left); in Draw()
42 if (clippingRegion.Frame().top > destinationRect.top) { in Draw()
44 - destinationRect.top); in Draw()
56 const int32 xBitmapShift = (int32)(destinationRect.left - offset.x); in Draw()
57 const int32 yBitmapShift = (int32)(destinationRect.top - offset.y); in Draw()
87 const int32 left = (int32)destinationRect.left; in Draw()
[all …]
H A DBitmapPainter.cpp59 const BRect& destinationRect) in Draw() argument
74 destinationRect.left, destinationRect.top, in Draw()
75 destinationRect.right, destinationRect.bottom); in Draw()
77 bool success = _DetermineTransform(sourceRect, destinationRect); in Draw()
179 const BRect& destinationRect) in _DetermineTransform() argument
185 || !destinationRect.IsValid()) { in _DetermineTransform()
189 fDestinationRect = destinationRect; in _DetermineTransform()
H A DDrawBitmapBilinear.h45 void Draw(PainterAggInterface& aggInterface, const BRect& destinationRect, in Draw()
55 const int32 left = (int32)destinationRect.left; in Draw()
56 const int32 top = (int32)destinationRect.top; in Draw()
57 const int32 right = (int32)destinationRect.right; in Draw()
58 const int32 bottom = (int32)destinationRect.bottom; in Draw()
486 double scaleX, double scaleY, BRect destinationRect) in Draw()
489 uint32 dstWidth = destinationRect.IntegerWidth() + 1; in Draw()
490 uint32 dstHeight = destinationRect.IntegerHeight() + 1; in Draw()
507 if (clippingRegion.Frame().left > destinationRect.left) { in Draw()
509 - destinationRect.left); in Draw()
[all …]
H A DBitmapPainter.h24 const BRect& destinationRect);
29 const BRect& destinationRect);
H A DDrawBitmapNoScale.h22 uint32 bytesPerSourcePixel, IntPoint offset, BRect destinationRect) in Draw()
33 const int32 left = (int32)destinationRect.left; in Draw()
34 const int32 top = (int32)destinationRect.top; in Draw()
35 const int32 right = (int32)destinationRect.right; in Draw()
36 const int32 bottom = (int32)destinationRect.bottom; in Draw()
/haiku/src/kits/interface/
H A DPicturePlayer.cpp1247 const BRect* destinationRect; in _Play() local
1256 || !reader.Get(destinationRect) || !reader.Get(width) in _Play()
1263 callbacks.draw_pixels(userData, *sourceRect, *destinationRect, in _Play()