Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples #1

Closed
elpiel opened this issue May 17, 2022 · 5 comments
Closed

Add examples #1

elpiel opened this issue May 17, 2022 · 5 comments
Labels
good first issue Good for newcomers

Comments

@elpiel
Copy link
Member

elpiel commented May 17, 2022

Add more examples in:

✔️ Cropping - an idea for an example that will show the cropping functionality for a useful use case:

Show a box with an outline and e.g. 3 lines of text. Only the middle line will be fully shown while the others will be partially visible (i.e. cropped) below and above the middle one.

✔️ Transparency - create a shape (e.g. a rectangle) filled with a specific color on the display, then create a canvas, draw anything on it with different color and place it inside the rectangle that's been already drawn on the display.

@elpiel elpiel added the good first issue Good for newcomers label May 17, 2022
@TheCre8tor
Copy link
Contributor

I will be working on this project.

@elpiel
Copy link
Member Author

elpiel commented Jun 4, 2022

Great @TheCre8tor, you can start by adding 1 example in the /examples directory.
We can later make the screenshots using the simulator display and add them to Readme & lib.rs

@TheCre8tor
Copy link
Contributor

Alright @elpiel, I am already on it.

TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 5, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 5, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 6, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 10, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 10, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 10, 2022
TheCre8tor referenced this issue in TheCre8tor/embedded-canvas Jun 12, 2022
@TheCre8tor
Copy link
Contributor

Working on the transparency example

elpiel pushed a commit that referenced this issue Jun 24, 2022
elpiel pushed a commit that referenced this issue Jun 24, 2022
elpiel pushed a commit that referenced this issue Jun 24, 2022
elpiel pushed a commit that referenced this issue Jun 24, 2022
@elpiel elpiel closed this as completed Jun 24, 2022
@elpiel
Copy link
Member Author

elpiel commented Jun 24, 2022

Thanks for the contributions @TheCre8tor !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants