pst2d / csscontrols

Implementation of basic css drawing for pascal (fpc, lazarus, delphi)
Apache License 2.0
28 stars 11 forks source link

Draw with BGRABitmap library #3

Open lainz opened 4 years ago

lainz commented 4 years ago

Hi, you considered adding more CSS properties with the capabilities of BGRABitmap library?

Like

lainz commented 4 years ago

BTW There is BGRABitmap for Delphi as well, if that is important to you. https://github.com/bgrabitmap/BGRABitmapDelphi

pst2d commented 4 years ago

yes. I'm working now on support box-shadow, more background prop. (like gradients). For box-shadow advanced clipping is required. On CSS side Weiler–Atherton will be enough. https://en.wikipedia.org/wiki/Weiler%E2%80%93Atherton_clipping_algorithm (there is no self-intersecting polygons) but I'm not sure about aliasing precision with this solution.

lainz commented 4 years ago

Ok, thanks. Glad to know that is being active developed.

lainz commented 4 years ago

I'm not the author of BGRABitmap, just a contributor and I help making BGRAControls. But if you need help with antialiasing, maybe ask @circular17 in the bgrabitmap repository or in the forum as circular, he is really kind and he maybe can help you.

CodingMadness commented 3 years ago

Hey guys is this entire Project still alive and actively developed, since I saw the last commits are ~8months old, I really hope this genius project is still maintained :)

lainz commented 3 years ago

Last commit in the dev branch is 8 months old.

pst2d commented 3 years ago

Please be patient i will work on it :) ASAP (jan-feb.2021).

lainz commented 3 years ago

Thanks. If you have time try bgrabitmap. We did some svg controls. Maybe you can add svg support.

formlessdao commented 2 years ago

So...why did you give up pst2d ?