Recent

Author Topic: LazPaint  (Read 1710 times)

user5

  • Sr. Member
  • ****
  • Posts: 419
LazPaint
« on: July 08, 2023, 09:47:12 am »
    LazPaint is great but I can't figure out how to add a new node to a shape though I've looked at all the
documentation. In other words, is it possible to add another side to an existing shape without needing to
draw another shape?

user5

  • Sr. Member
  • ****
  • Posts: 419
Re: LazPaint
« Reply #1 on: July 09, 2023, 10:38:45 am »
    I noticed that LazPaint draws antialiased shapes but for my purposes I do not want antialiasing.
    Can anyone tell me if I can turn antialiasing off in LazPaint? I'd rather use LazPaint. If that can't
be done then I'll have to use Paint instead and I don't want to do that. Can ANYONE help?

user5

  • Sr. Member
  • ****
  • Posts: 419
Re: LazPaint
« Reply #2 on: July 09, 2023, 11:21:03 pm »
    Well, without a definite resolution then I will have to assume that LazPaint makes only antialiased lines
and shapes instead of solid color lines and that new nodes/handles can't be added to existing lines but at
least for my purposes I have MS Paint to fall back on.
    LazPaint is in all other respects a very nice and useful program. When I think of all the work that must have
gone into it then I'm amazed. Jesus. Circular is a brilliant coder in company with other such folks in this Forum.
    In the recent and distant past I have received crucial help here. All kudos to Lazarus.

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: LazPaint
« Reply #3 on: July 12, 2023, 07:32:02 am »
Hello user5,

To add a node to a shape, you can use the Insert or the I key. It will insert a new point where the mouse is located. Conversely, you can delete a point with the Delete key.

Note that if the shape is a rectangle, this won't work directly. You need first to convert it to a curve (item in Edit menu).

Aliased shapes are not yet available in LazPaint, that's something that is somewhere on the roadmap.

What you can do to emulate aliasing is to create a palette with list of colors used and posterize using this palette. Here is how to do it step by step:
  • Make sure the palette is visible on the rightmost part of the window (View menu)
  • Click on its menu (button at the top) and choose Clear palette
  • Make sure the color chooser is visible. It will contain the current color
  • A. Use the color picker to retrieve one of the color
  • B. Click on the button of the color chooser to add the color to the palette (top-left button in the color chooser)
  • Repeat step A and B for each of the color
  • In the palette menu, click on Posterize layer using palette

Note that in the current version, this will rasterize the layer, shapes won't be editable anymore. If you want to keep an editable version, you can duplicate the layer, hide one of the copy, and posterize the other. So that if you want to change things, you can still retrieve the vectorial version of the layer.

That's for the kudos  :) It has been indeed a lot of effort to make the software.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018