Lines Matching defs:bitmap
317 RemoteDrawingEngine::DrawBitmap(ServerBitmap* bitmap, const BRect& _bitmapRect,
325 // constrain rect to passed bitmap bounds
327 BRect actualBitmapRect = bitmap->Bounds();
360 if (_ExtractBitmapRegions(*bitmap, options, bitmapRect, viewRect,
369 message.Add(bitmap->ColorSpace());
370 message.Add(bitmap->Flags());
390 message.AddBitmap(*bitmap);
949 RemoteDrawingEngine::ReadBitmap(ServerBitmap* bitmap, bool drawCursor,
977 result = bitmap->ImportBits(read->Bits(), read->BitsLength(),
1040 TRACE_ERROR("failed to read bitmap of read bitmap result: %s\n",
1073 RemoteDrawingEngine::_ExtractBitmapRegions(ServerBitmap& bitmap, uint32 options,
1102 // sourceRect is now the part of the bitmap we want copied
1108 // the target bitmap is smaller than the source, scale it locally
1125 switch (bitmap.ColorSpace()) {
1151 fBitmapDrawingEngine->DrawBitmap(&bitmap, sourceRect,
1154 targetHeight, bitmap.ColorSpace());
1166 bitmap.ColorSpace(), 0);
1170 result = bitmaps[i]->ImportBits(bitmap.Bits(),
1171 bitmap.BitsLength(), bitmap.BytesPerRow(),
1172 bitmap.ColorSpace(), sourceRect.LeftTop(),