diff --git a/python_payload/mypystubs/ctx.pyi b/python_payload/mypystubs/ctx.pyi index a8dce095450ac618ab44a67f1b9d05eb3e8d9b2c..a8c320799f21b86f048bd189b0a9f4d827ee2729 100644 --- a/python_payload/mypystubs/ctx.pyi +++ b/python_payload/mypystubs/ctx.pyi @@ -5,19 +5,19 @@ except ImportError: class Context(Protocol): """ - Ctx is the rendering/rasterization API used by st3m. + Context 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 Ctx object is backed by a drawlist generator. That is, any + In st3m, the Context 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 Ctx 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. + A Context 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/ """