Skip to content
Snippets Groups Projects
Commit 08171693 authored by q3k's avatar q3k
Browse files

sim/fakes/ctx: implement missing method

parent c35bfc95
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,10 @@ class Ctx:
self._emit(f"translate {int(x)} {int(y)}")
return self
def scale(self, x, y):
self._emit(f"scale {x:.3f} {y:.3f}")
return self
def line_to(self, x, y):
self._emit(f"lineTo {int(x)} {int(y)}")
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment