Lazarus

Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: JoeJoeTV on June 20, 2019, 09:45:18 pm

Title: [LazPaint] Always align to pixel grid
Post by: JoeJoeTV on June 20, 2019, 09:45:18 pm
So,
I've been looking in to LazPaint as an alternative to Paint.net on linux(GIMP confuses me), but the one problem I'vs got so far is, that I always have to press ctrl if I want to only draw a 1 pixel line and thet doesn't even work sometimes and it still draws non opaque pixels.
Is there some way I can always only draw "full" pixels with the pencil tool?
Title: Re: [LazPaint] Always align to pixel grid
Post by: circular on June 21, 2019, 12:55:44 pm
Hi,

Indeed, the Ctrl key supposedly does align to pixels. It can draw non opaque pixels if there is a oblique segment (intermediate pixels) or if the alpha of the selected color is not opaque.

I suppose what you would like is to disable completely antialiasing?
Title: Re: [LazPaint] Always align to pixel grid
Post by: JoeJoeTV on June 24, 2019, 04:01:25 pm
Yes, cause I want to use it for pixel art. I want kind of a behaviour like in gimp.
Title: Re: [LazPaint] Always align to pixel grid
Post by: circular on June 24, 2019, 05:34:27 pm
Understood.
Title: Re: [LazPaint] Always align to pixel grid
Post by: lainz on June 25, 2019, 04:23:37 am
Maybe is not hard to add?

Plus you can do a beta release to people test the new features even if is not finished, indicating that of course, things may change or break... just an idea, I see that for example in Blender, they do that kind of pre releases weekly or monthly. I can help with Windows builds and testing.. in mac I'm not sure how to start.. :)
Title: Re: [LazPaint] Always align to pixel grid
Post by: circular on June 27, 2019, 07:22:51 pm
Yes, indeed. Doing a beta version would help progress.
Title: Re: [LazPaint] Always align to pixel grid
Post by: lainz on June 28, 2019, 02:55:37 am
Ok. I will prepare the binaries for windows, labeling the program -beta is ok?

Like LazPaint x.x-beta and the commit string like 53770b6 to identify it.

Do you have a list of changes?
Title: Re: [LazPaint] Always align to pixel grid
Post by: circular on June 28, 2019, 01:17:13 pm
Not yet, I need to fix a bug first in LazPaint. I will tell you when am ready
Title: Re: [LazPaint] Always align to pixel grid
Post by: lainz on June 29, 2019, 01:20:09 am
Ok is a good idea to fix the bug first.
Title: Re: [LazPaint] Always align to pixel grid
Post by: lainz on June 29, 2019, 04:39:05 am
Is working again on macos 64! All the new stuff you added fixed something that was not working. As well thanks to those fix cocoa 64 target.

I have added build modes for macos 64 bit.
Title: Re: [LazPaint] Always align to pixel grid
Post by: circular on June 29, 2019, 06:44:26 am
Cool  :)
TinyPortal © 2005-2018