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

/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapGeneric.h18 double scaleX, double scaleY, BRect destinationRect, uint32 options)
32 offset.x - destinationRect.left, offset.y - destinationRect.top);
34 imgMatrix *= agg::trans_affine_translation(destinationRect.left,
35 destinationRect.top);
52 destinationRect = destinationRect
56 destinationRect.right++;
57 destinationRect.bottom++;
64 path.move_to(destinationRect
16 Draw(const Painter* painter, PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, BPoint offset, double scaleX, double scaleY, BRect destinationRect, uint32 options) argument
[all...]
H A DDrawBitmapNearestNeighbor.h18 double scaleX, double scaleY, BRect destinationRect)
21 uint32 dstWidth = destinationRect.IntegerWidth() + 1;
22 uint32 dstHeight = destinationRect.IntegerHeight() + 1;
35 // destinationRect, we need to compensate the offset.
38 if (clippingRegion.Frame().left > destinationRect.left) {
40 - destinationRect.left);
42 if (clippingRegion.Frame().top > destinationRect.top) {
44 - destinationRect.top);
54 // the offset will be different from the destinationRect left top
56 const int32 xBitmapShift = (int32)(destinationRect
16 Draw(const Painter* painter, PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, BPoint offset, double scaleX, double scaleY, BRect destinationRect) argument
[all...]
H A DBitmapPainter.h24 const BRect& destinationRect);
29 const BRect& destinationRect);
H A DBitmapPainter.cpp59 const BRect& destinationRect)
73 TRACE(" destinationRect = (%.1f, %.1f) - (%.1f, %.1f)\n",
74 destinationRect.left, destinationRect.top,
75 destinationRect.right, destinationRect.bottom);
77 bool success = _DetermineTransform(sourceRect, destinationRect);
170 const BRect& destinationRect)
175 || !destinationRect.IsValid()) {
179 fDestinationRect = destinationRect;
58 Draw(const BRect& sourceRect, const BRect& destinationRect) argument
169 _DetermineTransform(BRect sourceRect, const BRect& destinationRect) argument
[all...]
H A DDrawBitmapBilinear.h45 void Draw(PainterAggInterface& aggInterface, const BRect& destinationRect, argument
55 const int32 left = (int32)destinationRect.left;
56 const int32 top = (int32)destinationRect.top;
57 const int32 right = (int32)destinationRect.right;
58 const int32 bottom = (int32)destinationRect.bottom;
486 double scaleX, double scaleY, BRect destinationRect)
489 uint32 dstWidth = destinationRect.IntegerWidth() + 1;
490 uint32 dstHeight = destinationRect.IntegerHeight() + 1;
503 // destinationRect, we need to compensate the offset.
507 if (clippingRegion.Frame().left > destinationRect
484 Draw(const Painter* painter, PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, BPoint offset, double scaleX, double scaleY, BRect destinationRect) argument
[all...]
H A DDrawBitmapNoScale.h22 uint32 bytesPerSourcePixel, IntPoint offset, BRect destinationRect)
24 // NOTE: this would crash if destinationRect was large enough to read
33 const int32 left = (int32)destinationRect.left;
34 const int32 top = (int32)destinationRect.top;
35 const int32 right = (int32)destinationRect.right;
36 const int32 bottom = (int32)destinationRect.bottom;
21 Draw(PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, uint32 bytesPerSourcePixel, IntPoint offset, BRect destinationRect) argument
/haiku/src/kits/interface/
H A DPicturePlayer.cpp993 const BRect* destinationRect; local
1002 || !reader.Get(destinationRect) || !reader.Get(width)
1009 callbacks.draw_pixels(userData, *sourceRect, *destinationRect,

Completed in 136 milliseconds