Recent

Author Topic: [LazPaint] Always align to pixel grid  (Read 2464 times)

JoeJoeTV

  • Jr. Member
  • **
  • Posts: 65
  • Hobbyist Programmer
    • Useless Website
[LazPaint] Always align to pixel grid
« 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?
Lazarus 2.2.4 / FPC 3.2.2 / 64bit / Linux Mint 21.1 Cinnamon
https://github.com/JoeJoeTV

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: [LazPaint] Always align to pixel grid
« Reply #1 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?
Conscience is the debugger of the mind

JoeJoeTV

  • Jr. Member
  • **
  • Posts: 65
  • Hobbyist Programmer
    • Useless Website
Re: [LazPaint] Always align to pixel grid
« Reply #2 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.
Lazarus 2.2.4 / FPC 3.2.2 / 64bit / Linux Mint 21.1 Cinnamon
https://github.com/JoeJoeTV

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: [LazPaint] Always align to pixel grid
« Reply #3 on: June 24, 2019, 05:34:27 pm »
Understood.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: [LazPaint] Always align to pixel grid
« Reply #4 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.. :)
« Last Edit: June 25, 2019, 04:27:05 am by Lainz »

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: [LazPaint] Always align to pixel grid
« Reply #5 on: June 27, 2019, 07:22:51 pm »
Yes, indeed. Doing a beta version would help progress.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: [LazPaint] Always align to pixel grid
« Reply #6 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?

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: [LazPaint] Always align to pixel grid
« Reply #7 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
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: [LazPaint] Always align to pixel grid
« Reply #8 on: June 29, 2019, 01:20:09 am »
Ok is a good idea to fix the bug first.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: [LazPaint] Always align to pixel grid
« Reply #9 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.
« Last Edit: June 29, 2019, 04:41:19 am by Lainz »

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: [LazPaint] Always align to pixel grid
« Reply #10 on: June 29, 2019, 06:44:26 am »
Cool  :)
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018