microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.25k stars 116 forks source link

ImageRenderingContext #478

Closed pelikhan closed 1 year ago

pelikhan commented 1 year ago
pelikhan commented 1 year ago

[like] Peli de Halleux reacted to your message:


From: Michał Moskal @.> Sent: Monday, June 12, 2023 5:31:15 PM To: microsoft/devicescript @.> Cc: Peli de Halleux @.>; State change @.> Subject: Re: [microsoft/devicescript] ImageRenderingContext (PR #478)

@mmoskal commented on this pull request.


In packages/graphics/src/image.tshttps://github.com/microsoft/devicescript/pull/478#discussion_r1227017964:

@@ -251,6 +257,10 @@ Image.prototype.rotated = function (deg: number): Image { } }

+Image.prototype.getContext = function (): ImageRenderingContext {

(I would be inclined to rename, more flexible and memory efficient)

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/devicescript/pull/478#discussion_r1227017964, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKKI4EAICH42QL4SROTXK5G6HANCNFSM6AAAAAAZB5HQV4. You are receiving this because you modified the open/close state.Message ID: @.***>