Home
last modified time | relevance | path

Searched refs:Bitmap (Results 1 – 23 of 23) sorted by relevance

/foundation/graphic/standard/rosen/modules/2d_graphics/src/image/
Dbitmap.cpp23 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 …]
Dimage.cpp25 Image* Image::BuildFromBitmap(const Bitmap& bitmap) in BuildFromBitmap()
/foundation/graphic/ui/frameworks/font/
Dui_font_cache.cpp26 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()
58Bitmap* 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 …]
Dui_font_cache.h30 struct Bitmap { struct
49 void UpdateLru(Bitmap* bitmap); argument
/foundation/graphic/standard/rosen/modules/2d_graphics/include/image/
Dbitmap.h29 class Bitmap {
31 Bitmap();
32 virtual ~Bitmap();
38 void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const;
Dimage.h33 Image* BuildFromBitmap(const Bitmap& bitmap);
/foundation/graphic/standard/rosen/modules/2d_graphics/src/c/
Ddrawing_bitmap.cpp25 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()
Ddrawing_canvas.cpp44 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/
Dbitmap_impl.h26 class Bitmap; variable
42 virtual void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const = 0;
Dimage_impl.h41 virtual void* BuildFromBitmap(const Bitmap& bitmap) = 0;
Dcore_canvas_impl.h58 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/
Dcore_canvas.h34 void Bind(const Bitmap& bitmap);
52 void DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py);
Dcore_canvas.cpp25 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/
Dskia_canvas.h50 void Bind(const Bitmap& bitmap) override;
68 void DrawBitmap(const Bitmap& bitmap, const scalar px, const scalar py) override;
Dskia_image.h43 void* BuildFromBitmap(const Bitmap& bitmap) override;
Dskia_bitmap.h42 void CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const override;
Dskia_image.cpp30 void* SkiaImage::BuildFromBitmap(const Bitmap& bitmap) in BuildFromBitmap()
Dskia_bitmap.cpp102 void SkiaBitmap::CopyPixels(Bitmap& dst, int srcLeft, int srcTop, int width, int height) const in CopyPixels()
Dskia_canvas.cpp34 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/
Ddrawing_sample_rs.cpp236 Bitmap bmp; in TestDrawBitmap()
254 Bitmap bmp; in TestDrawImage()
288 Bitmap bmp; in TestDrawImageRect()
503 Bitmap bitmap; in DoDraw()
Ddrawing_sample_canvaskit0310.cpp159 Bitmap bmp; in TestDrawImage()
190 Bitmap bitmap; in DoDrawData()
210 Bitmap bitmap; in DoDrawBaseData()
/foundation/graphic/standard/rosen/samples/text/renderservice/
Dmain.cpp68 Bitmap bitmapCache; in DoDraw()
/foundation/multimodalinput/input/service/window_manager/src/
Dpointer_drawing_manager.cpp157 OHOS::Rosen::Drawing::Bitmap bitmap; in DoDraw()