George Birbilis
George Birbilis
update: also just noticed that if I save an even deeper descendent frame than the one where I set the SVGText property of the TSVGIconImage that had been inherited from...
btw, I may remove that code anyway and use direct drawing like in SVGViewer demo's FrameViewer.pas, since the above approach seems to cause pixelization upon zooming into the container https://youtu.be/0vXp5jUf8cU?t=710
ahem, tried to use FrameViewer.pas code, but seems one can't adapt it to FMX from VCL, since it uses ISVG.PaintTo method that expects a Handle. How would one go to...
Problem is how can I stretch an image with FMX TSVGIconImage? I can't use TGlyph and ImageList in my case. Note the last parameter of PaintTo above, it was for...
to answer my own question, since TSVGIconImage descends from TImage (hadn't noticed) one can just do `MySVGImg.WrapMode := TImageWrapMode.Stretch;`
So one thing that remains problematic in my case is this pixelization upon zooming in the container (I do zoom via ScaleLayout). Seems TSVGIconImage draws pixelized graphics when I zoom...
Not sure I understand how that BitmapZoom works, last time I tried BitmapZoom (is an integer, not a single number so can't use 0,5 for example) with a value>1 it...
At first I guessed you might need a TCustomMultiResBitmap descendent that spits out bitmaps of any resolution. However, it seems that FMX asks what bitmap Scales are provided to judge...
btw, Skia4Delphi also has some image drawing control, not sure if that descends from TImage or not. If it does, have they done this infinite resolution thing I'm taking about...
Note that bitmap images (rendered via FMX) look fine 