Image32 icon indicating copy to clipboard operation
Image32 copied to clipboard

Supports CSS alike drawing

Open khongten001 opened this issue 1 year ago • 1 comments

Hi, Image32 is an amazing library but it is hard to use for writing VCL component. Most of operator when drawing VCL component related to background, border,... only. So, it will be great if there is something like this:

var
  CssStyle: TCssStyle;
begin
  CssStyle.BorderColor := clRed32;
  CssStyle.Background := TBackgroundLinenearGradient.Create(clFrom, clTo);
  // ...
  CssStyle.Draw(Image32, DrawRect);
end;

Thank you

khongten001 avatar Feb 26 '25 14:02 khongten001

Thanks for the very interesting suggestion. It's certainly something I will consider, but it would be a huge job to do well.

AngusJohnson avatar Feb 26 '25 21:02 AngusJohnson