displayio: Add lightweight Rectangle#2843
Closed
kvc0 wants to merge 3 commits into
Closed
Conversation
Shape uses a bitmap to represent blocked regions. This is fine for some shapes, but others may be more compactly represented.
Author
|
Investigating hallowing memory and alternate shape ideas. |
|
The error in the building isn't down to your code, it's something to do with the Korean font. I don't know much about that, but I just wanting to let you know it wasn't your code. |
Author
|
Thanks for letting me know. I'll work something else out.
…On Sat, May 2, 2020, 13:04 Mark Olsson ***@***.***> wrote:
The error in the building isn't down to your code, it's something to do
with the Korean font. I don't know much about that, but I just wanting to
let you know it wasn't your code.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2843 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2LOFMYWQBV7KN4W2CO65DRPR4E3ANCNFSM4MXTPBCQ>
.
|
Member
|
You could split Rectangle out into a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shape uses a bitmap to represent blocked regions. This is fine
for some shapes, but others may be more compactly represented.
This lets users make large, possibly overlapping areas of their screen be colored without running out of memory due to bitmap arrays in adafruit_display_shapes.Rect.
Used like: