-
Notifications
You must be signed in to change notification settings - Fork 16
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
Comments
I am not sure if I understand correctly, did you mean you want to create a different brush size for the normal drawing tool? |
Yes, you understand right. I want create different brush size, like 2x2 pixels or 3x3. And changes it dinamicaly in seek bar. |
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 |
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. |
@enxio27 it's fine to keep it here, think we can consider changing the brush size as a similar features
|
In this project
picBoundary.set(0, 0, pxerSize * picWidth , pxerSize * picHeight );
- like a pixelis 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?
The text was updated successfully, but these errors were encountered: