From 9ab0aee10a7a9cd3f43ccc1ae9fc23ddca40091e Mon Sep 17 00:00:00 2001 From: Serge Bazanski <q3k@q3k.org> Date: Mon, 7 Aug 2023 00:16:26 +0200 Subject: [PATCH] py: fix Ctx -> Context spelling --- python_payload/mypystubs/ctx.pyi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python_payload/mypystubs/ctx.pyi b/python_payload/mypystubs/ctx.pyi index a8dce09545..a8c320799f 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/ """ -- GitLab