Home
last modified time | relevance | path

Searched refs:TranslateOpItem (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Ddraw_cmd.cpp1844 TranslateOpItem::Unmarshalling, sizeof(TranslateOpItem::ConstructorHandle));
1846 TranslateOpItem::TranslateOpItem(TranslateOpItem::ConstructorHandle* handle) in TranslateOpItem() function in OHOS::Rosen::Drawing::TranslateOpItem
1849 std::shared_ptr<DrawOpItem> TranslateOpItem::Unmarshalling(const DrawCmdList& cmdList, void* handle) in Unmarshalling()
1851 …return std::make_shared<TranslateOpItem>(static_cast<TranslateOpItem::ConstructorHandle*>(handle)); in Unmarshalling()
1854 void TranslateOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling()
1859 void TranslateOpItem::Playback(Canvas* canvas, const Rect* rect) in Playback()
H A Drecording_canvas.cpp555 cmdList_->AddDrawOp(std::make_shared<TranslateOpItem>(dx, dy)); in Translate()
558 cmdList_->AddDrawOp<TranslateOpItem::ConstructorHandle>(dx, dy); in Translate()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Ddraw_cmd.h1094 class TranslateOpItem : public DrawOpItem {
1102 explicit TranslateOpItem(ConstructorHandle* handle);
1103TranslateOpItem(scalar dx, scalar dy) : DrawOpItem(DrawOpItem::TRANSLATE_OPITEM), dx_(dx), dy_(dy)… in TranslateOpItem() function
1104 ~TranslateOpItem() override = default;