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

Create brush size #4

Open
DmytroTsurkan opened this issue Mar 22, 2021 · 6 comments
Open

Create brush size #4

DmytroTsurkan opened this issue Mar 22, 2021 · 6 comments
Labels

Comments

@DmytroTsurkan
Copy link

In this project
picBoundary.set(0, 0, pxerSize * picWidth , pxerSize * picHeight ); - like a pixel
is the brush.
When we scale this picBoundary like (pxerSize * picWidth * 2 , pxerSize * picHeight * 2)
the brush will scale too.
But all pixels draw again and scale. Have some idea?

@DmytroTsurkan DmytroTsurkan changed the title Create prush size Create brush size Mar 22, 2021
@BennyKok
Copy link
Owner

I am not sure if I understand correctly, did you mean you want to create a different brush size for the normal drawing tool?

@DmytroTsurkan
Copy link
Author

Yes, you understand right. I want create different brush size, like 2x2 pixels or 3x3. And changes it dinamicaly in seek bar.

@BennyKok
Copy link
Owner

I think I did something similar for the eraser tool, which erases a brush of pixel at a time, I think you can look around that code maybe its easily convertible

@enxio27
Copy link

enxio27 commented Apr 28, 2021

Need to return the default size for the eraser to 1x1 pixel, and give the user a way to set the size.

@enxio27
Copy link

enxio27 commented May 8, 2021

Need to return the default size for the eraser to 1x1 pixel, and give the user a way to set the size.

Do I need to open this as a new issue? The default for the eraser needs to be changed back to 1x1 pixel. I don't have the ability to change the code and recompile it.

@BennyKok
Copy link
Owner

@enxio27 it's fine to keep it here, think we can consider changing the brush size as a similar features

Need to return the default size for the eraser to 1x1 pixel, and give the user a way to set the size.

Do I need to open this as a new issue? The default for the eraser needs to be changed back to 1x1 pixel. I don't have the ability to change the code and recompile it.

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

No branches or pull requests

4 participants