Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiSystem FMX #45

Closed
ange007 opened this issue Aug 19, 2020 · 5 comments
Closed

MultiSystem FMX #45

ange007 opened this issue Aug 19, 2020 · 5 comments

Comments

@ange007
Copy link
Contributor

ange007 commented Aug 19, 2020

Hi.
Do you have plans for a support another system in FMX version?
Or used SVG library work only on Windows?

@carloBarazzetta
Copy link
Contributor

carloBarazzetta commented Aug 19, 2020

There is a plan to make the svg rendering engine replaceable, to use native Direct2D support to SVG (alway in Windows).
Personally I've not a plan to extend the FMX version to other platforms.
A similar solution can be https://github.com/EtheaDev/IconFontsImageList that supports also Android.

@ange007
Copy link
Contributor Author

ange007 commented Aug 23, 2020

Perhaps it makes sense to make a component that would create a list of images of the required size from the SVG and add it to the package for use where dynamic manipulation with SVG is not needed.
It turns out that is need to convert from SVG to resources.
Perhaps tell me which way to look?

@carloBarazzetta
Copy link
Contributor

The goal of these components is precisely to avoid having to create images of various sizes (eg. Png), as we are forced to do today without the support of a vector library such as SVG.
It doesn't make much sense to me.
When we can replace the SVG engine and use one that is compatible with Android / iOS, this will be done.

@MHumm
Copy link

MHumm commented Mar 10, 2021

I'd find an Android compatible version useful as well. Doesn't FMX TPath mostly use a SVG compatible technology internally anyway?

@carloBarazzetta
Copy link
Contributor

@ange007 : there is a new version of components (2.3.0) that uses a new engine Image32 that is compatible also with Android and iOS. I've not tested yet with Android and iOS, is not my primary business platform, but the FMX version of SVGIconsImageList now uses this new library that can be used also on Android and don't need windows units:
http://www.angusj.com/delphi/image32/Docs/Examples.htm
Please give me a feedback if you can try.
I'm closing this issue because we can continue to discuss / check FMX compatibility in issue #130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants