/foundation/graphic/standard/rosen/modules/2d_graphics/src/image/ |
D | bitmap.cpp | 23 Bitmap::Bitmap() in Bitmap() function in OHOS::Rosen::Drawing::Bitmap 31 Bitmap::~Bitmap() {} in ~Bitmap() 33 void Bitmap::Build(const int width, const int height, const BitmapFormat& format) in Build() 38 int Bitmap::GetWidth() in GetWidth() 44 int Bitmap::GetHeight() in GetHeight() 50 void Bitmap::SetPixels(void* pixel) in SetPixels() 56 void* Bitmap::GetPixels() in GetPixels() 62 void Bitmap::CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const in CopyPixels() 67 void Bitmap::ClearWithColor(const ColorQuad& color) const in ClearWithColor() 72 bool Bitmap::IsValid() const in IsValid() [all …]
|
D | image.cpp | 25 Image* Image::BuildFromBitmap(const Bitmap& bitmap) in BuildFromBitmap()
|
/foundation/graphic/ui/frameworks/font/ |
D | ui_font_cache.cpp | 26 allocator_.SetMinChunkSize(FONT_CACHE_MIN_SIZE + sizeof(Bitmap)); in UIFontCache() 39 void UIFontCache::UpdateLru(Bitmap* bitmap) in UpdateLru() 48 Bitmap* bitmap = nullptr; in GetSpace() 50 uint32_t allocSize = sizeof(Bitmap) + size; in GetSpace() 52 bitmap = reinterpret_cast<Bitmap*>(allocator_.Allocate(allocSize)); in GetSpace() 58 … Bitmap* toFree = reinterpret_cast<struct Bitmap *>(reinterpret_cast<uint8_t *>(lruList_.prev) - in GetSpace() 59 offsetof(struct Bitmap, lruHead)); in GetSpace() 82 Bitmap* bitmap = reinterpret_cast<Bitmap*>(addr - sizeof(Bitmap)); in PutSpace() 92 Bitmap* bitmap = nullptr; in GetBitmap() 96 bitmap = reinterpret_cast<struct Bitmap*>(reinterpret_cast<uint8_t*>(node) - in GetBitmap() [all …]
|
D | ui_font_cache.h | 30 struct Bitmap { struct 49 void UpdateLru(Bitmap* bitmap); argument
|
/foundation/graphic/standard/rosen/modules/2d_graphics/include/image/ |
D | bitmap.h | 29 class Bitmap { 31 Bitmap(); 32 virtual ~Bitmap(); 38 void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const;
|
D | image.h | 33 Image* BuildFromBitmap(const Bitmap& bitmap);
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/c/ |
D | drawing_bitmap.cpp | 25 static Bitmap* CastToBitmap(OH_Drawing_Bitmap* cBitmap) in CastToBitmap() 27 return reinterpret_cast<Bitmap*>(cBitmap); in CastToBitmap() 83 return (OH_Drawing_Bitmap*)new Bitmap; in OH_Drawing_BitmapCreate()
|
D | drawing_canvas.cpp | 44 static const Bitmap& CastToBitmap(const OH_Drawing_Bitmap& cBitmap) in CastToBitmap() 46 return reinterpret_cast<const Bitmap&>(cBitmap); in CastToBitmap()
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/impl_interface/ |
D | bitmap_impl.h | 26 class Bitmap; variable 42 virtual void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const = 0;
|
D | image_impl.h | 41 virtual void* BuildFromBitmap(const Bitmap& bitmap) = 0;
|
D | core_canvas_impl.h | 58 virtual void Bind(const Bitmap& bitmap) = 0; 76 virtual void DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py) = 0;
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/draw/ |
D | core_canvas.h | 34 void Bind(const Bitmap& bitmap); 52 void DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py);
|
D | core_canvas.cpp | 25 void CoreCanvas::Bind(const Bitmap& bitmap) in Bind() 91 void CoreCanvas::DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py) in DrawBitmap()
|
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/skia_adapter/ |
D | skia_canvas.h | 50 void Bind(const Bitmap& bitmap) override; 68 void DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py) override;
|
D | skia_image.h | 43 void* BuildFromBitmap(const Bitmap& bitmap) override;
|
D | skia_bitmap.h | 42 void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const override;
|
D | skia_image.cpp | 30 void* SkiaImage::BuildFromBitmap(const Bitmap& bitmap) in BuildFromBitmap()
|
D | skia_bitmap.cpp | 102 void SkiaBitmap::CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const in CopyPixels()
|
D | skia_canvas.cpp | 34 void SkiaCanvas::Bind(const Bitmap& bitmap) in Bind() 167 void SkiaCanvas::DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py) in DrawBitmap()
|
/foundation/graphic/standard/rosen/samples/2d_graphics/ |
D | drawing_sample_rs.cpp | 236 Bitmap bmp; in TestDrawBitmap() 254 Bitmap bmp; in TestDrawImage() 288 Bitmap bmp; in TestDrawImageRect() 503 Bitmap bitmap; in DoDraw()
|
D | drawing_sample_canvaskit0310.cpp | 159 Bitmap bmp; in TestDrawImage() 190 Bitmap bitmap; in DoDrawData() 210 Bitmap bitmap; in DoDrawBaseData()
|
/foundation/graphic/standard/rosen/samples/text/renderservice/ |
D | main.cpp | 68 Bitmap bitmapCache; in DoDraw()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
D | pointer_drawing_manager.cpp | 157 OHOS::Rosen::Drawing::Bitmap bitmap; in DoDraw()
|