csscontrols icon indicating copy to clipboard operation
csscontrols copied to clipboard

Draw with BGRABitmap library

Open lainz opened this issue 5 years ago • 9 comments

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

Like

  • gradients
  • antialiased borders
  • transparency

lainz avatar May 23 '20 19:05 lainz

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

lainz avatar May 23 '20 23:05 lainz

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.

pst2d avatar May 24 '20 06:05 pst2d

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

lainz avatar May 24 '20 10:05 lainz

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.

lainz avatar May 24 '20 11:05 lainz

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 :)

CodingMadness avatar Dec 19 '20 12:12 CodingMadness

Last commit in the dev branch is 8 months old.

lainz avatar Dec 24 '20 02:12 lainz

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

pst2d avatar Dec 24 '20 07:12 pst2d

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

lainz avatar Jan 05 '21 00:01 lainz

So...why did you give up pst2d ?

formlessdao avatar Dec 31 '21 11:12 formlessdao