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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David
flow3r firmware
Commits
9ab0aee1
Commit
9ab0aee1
authored
1 year ago
by
q3k
Browse files
Options
Downloads
Patches
Plain Diff
py: fix Ctx -> Context spelling
parent
37bb3511
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/mypystubs/ctx.pyi
+5
-5
5 additions, 5 deletions
python_payload/mypystubs/ctx.pyi
with
5 additions
and
5 deletions
python_payload/mypystubs/ctx.pyi
+
5
−
5
View file @
9ab0aee1
...
...
@@ -5,18 +5,18 @@ except ImportError:
class
Context
(
Protocol
):
"""
Ct
x
is the rendering/rasterization API used by st3m.
C
ontex
t is the rendering/rasterization API used by st3m.
It
'
s a WebCanvas-style vector API, with an implicit pen which can be moved
and can draw lines, arcs, text, etc.
In st3m, the Ct
x
object is backed by a drawlist generator. That is, any
In st3m, the C
ontex
t object is backed by a drawlist generator. That is, any
operation performed on the ctx object will cause an entry to be added to an
in-memory draw list. Then, when the rasterizer is ready, it will rasterize
said drawlist to pixels in a separate thread.
A Ct
x
object is passed to all draw() calls to Responder. This object
should
only be used within the lifecycle of the draw method and must not be
A C
ontex
t object is passed to all draw() calls to Responder. This object
should
only be used within the lifecycle of the draw method and must not be
persisted.
For more information, see: https://ctx.graphics/
...
...
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