Jump to content

domus

Members
  • Content Count

    42
  • Joined

  • Last visited

Everything posted by domus

  1. Of course. Would just be nice to find the cause, instead of having to remedy the effect each time.
  2. It happens during design. When loading the project, the bitmaps are simply gone. No changes to the Kind property. That's the one thing I keep forgetting to do; check the form's source. Too much in a hurry to fish them all up again. I'll check next time. Thanks for your reply.
  3. Hi, When I disable "visible right margin" in the IDE settings, my custom background color for text is lost. Same happens when I do set a visible right margin, but the window is too small to show it. Is this a known issue in 10.4? Thx. Cheers, Dom
  4. domus

    ANN: Skia4Delphi v3.4.0

    Sent you all the stuff over Telegram, but the day after, Telegram tells me "no messages here yet." Bliss, now I'm also raising issues with the software that I have to use to raise an issue with other software. Will try again later. This is 2022. Communication is hard.
  5. domus

    ANN: Skia4Delphi v3.4.0

    Is there any Skia4delphi specific documentation for TSkShader etc.? Or do we use https://api.skia.org/? Thx!
  6. domus

    ANN: Skia4Delphi v3.4.0

    As an aside, this test rendered the animation perfectly when loaded and played in the https://lottiefiles.com/ site. Don't know if this is useful info.
  7. domus

    ANN: Skia4Delphi v3.4.0

    As I suspected, it had to do with the "property pick whip," linking properties of different objects. When I detached them and configured them separately, it worked. Your link, however, was kind of depressing to read; Well, my test used a Gaussian blur effect and that seemed to work fine, so I hope it doesn't concern all of them... Cheers, Dom
  8. domus

    ANN: Skia4Delphi v3.4.0

    First test with a Lottie export from AE. Two superimposed circles with animated trim paths (connected parameters). Only one circle is animated, the other not. In the Lottie preview in the AE Plugin, all seems fine. In Delphi, only one circle is animated. Are there any limitations to the complexity of these Lottie imports (or unsupported functionality)?
  9. domus

    ANN: Skia4Delphi v3.4.0

    I'll check that out. Thanks! Looking forward to checking it out. Many thanks for your swift and complete replies!
  10. domus

    ANN: Skia4Delphi v3.4.0

    There was one by Jason Southwell; a TSVG component in his Apesuite component set. Ten years ago, that was. Don't know if that's still active. So, no (truly) interactive animations possible? Only fixed animation sequences? I noticed there is a way to create SVGs in runtime. Maybe I'll experiment with that. Is the entire SKIA library exposed in Delphi, or just part of it?
  11. domus

    ANN: Skia4Delphi v3.4.0

    I'll continue testing nevertheless. I'm mainly interested in exploring the animation possibilities using SVG. Could you tell me if the SVG component allows run-time created animations, like dynamic path creation and altering of SVG parameters (as opposed to loading file-based SVG animations)?
  12. domus

    ANN: Skia4Delphi v3.4.0

    Tested with over 3000 rotating rectangles, with assigned bitmaps. FMX still runs very smoothly, but Skia was jerky (even with GlobalUseSkiaRasterWhenAvailable = False). With 200 rotating rectangles, I have the impression Skia is smoother. All very subjective observations, of course. Not certain if any of this information is useful.
  13. domus

    ANN: Skia4Delphi v3.4.0

    Now it's flying again! However, is Skia still being used for bitmaps when this is set to False?
  14. domus

    ANN: Skia4Delphi v3.4.0

    That was it! Many thanks! Odd that this wasn't necessary in the first test project. However, while the test (just rotation bitmaps) runs very smoothly in standard FMX, it comes to an absolute crawl when I set GlobalUseSkia := True.
  15. domus

    ANN: Skia4Delphi v3.4.0

    Installed fine (Windows 10) and worked fine in first project test. When I try a second project, I keep getting "skia library could not be loaded". These are tiny one-unit test projects. Anyone have any idea what I'm overlooking? Thx.
  16. domus

    Change the background color of a TEdit

    The problem with FindStyleResource is that the style needs to have been applied first, otherwise it will indeed return nil. I often issue an ApplyStyleLookup before using FindStyleResource, unless I'm absolutely positive that the control has already been rendered with the style. But I admit, even an ApplyStyleLookup is no guarantee that the style has been applied. The control needs to be correctly parented, etc. etc. Since there really isn't any phenomenal documentation, a bit of witchcraft is involved. And absolutely everything could change again in the next version. I learned that the very hard way. EMBT, today, is all about code breaking and upgrade nightmares.
  17. domus

    Change the background color of a TEdit

    Back in the days of XE2, this was as easy as TRectangle(Edt.FindBinding('background')).Fill.Color := claYellow; Today, ai caramba! You'd have to put an extra TRectangle inside the style, just below the "background" element, set its StyleName to "rect", set HitTest to false, set Align to Contents and then access it through TRectangle(Edt.FindStyleResource('rect')).Fill.Color := TAlphaColorRec.Yellow; I'm sure they'll soon find even more devious ways to scare people away from FMX.
×