-
Notifications
You must be signed in to change notification settings - Fork 13
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
FMX path #1
Comments
Could you maybe explain more what you mean please? |
Convert SVG to path data for TPath component. This will allow the library to be used without a third party component to render SVG |
That's a good idea. Thank you. I'll do it 😁 |
Hey @HemulGM I added a new function to get Path Data Text to it. You can use it as: var HouseIconSVGPathData := GetBootstrapIconPathData('house'); // Returns SVG Path Data Text
var ValveSteamIconSVGPathData := GetBootstrapIconPathData('steam'); // Returns SVG Path Data Text
var BrushIconSVGPathData := GetBootstrapIconPathData('brush'); // Returns SVG Path Data Text |
Great, but I foresee the problem in advance. Not all SVGs only contain "path". Some are drawn with primitives. I found them with you) |
Yes. I got the same issue with some of them already. I will improve the function once I have some more time on my hands. but I decided to commit this so long since it's working on most of them from Bootstrap icons. |
Hi. |
How about making an option not only svg, but also in simple path format?
The text was updated successfully, but these errors were encountered: