done Image XObject handler (Do operator)

This commit is contained in:
azeeee05
2026-06-11 11:24:35 +05:30
parent 98e3a2f89c
commit addc888545
11 changed files with 410 additions and 2 deletions
+3
View File
@@ -15,6 +15,9 @@ public:
void visit(const SetTransformCommand& cmd) override { calls.push_back("SetTransform(" + std::to_string(cmd.matrix.a) + ")"); }
void visit(const FillRectCommand& cmd) override { calls.push_back("FillRect(" + std::to_string(cmd.width) + ")"); }
void visit(const DrawTextCommand& cmd) override { calls.push_back("DrawText(" + cmd.text + ")"); }
void visit(const FillPathCommand&) override { calls.push_back("FillPath"); }
void visit(const StrokePathCommand&) override { calls.push_back("StrokePath"); }
void visit(const DrawImageCommand&) override { calls.push_back("DrawImage"); }
};
TEST(DisplayListTest, RecordAndReplay) {