Skip to content
Snippets Groups Projects
Commit 89211704 authored by ave's avatar ave
Browse files

docs: document the formats currently supported by ctx.image

parent fbcd38ca
No related branches found
No related tags found
1 merge request!224docs: document the formats currently supported by ctx.image
Pipeline #7338 passed
...@@ -319,7 +319,7 @@ class Context(Protocol): ...@@ -319,7 +319,7 @@ class Context(Protocol):
Draw the image at path a in a rectangle with upper left coordinates at Draw the image at path a in a rectangle with upper left coordinates at
x,y which is w wide and h high. If w or h is -1 the other is set x,y which is w wide and h high. If w or h is -1 the other is set
maintaining aspect ratio, if both are -1 the pixel dimensions of the maintaining aspect ratio, if both are -1 the pixel dimensions of the
image is used. image is used. Supports PNG and JPEG files.
""" """
pass pass
def logo(self, x: float, y: float, dim: float) -> "Context": def logo(self, x: float, y: float, dim: float) -> "Context":
......
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