Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
89211704
Commit
89211704
authored
1 year ago
by
ave
Browse files
Options
Downloads
Patches
Plain Diff
docs: document the formats currently supported by ctx.image
parent
fbcd38ca
No related branches found
No related tags found
1 merge request
!224
docs: document the formats currently supported by ctx.image
Pipeline
#7338
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/mypystubs/ctx.pyi
+1
-1
1 addition, 1 deletion
python_payload/mypystubs/ctx.pyi
with
1 addition
and
1 deletion
python_payload/mypystubs/ctx.pyi
+
1
−
1
View file @
89211704
...
@@ -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
"
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment