简体   繁体   English

livecode如何在卡上使用svg图像

[英]livecode how to use svg images on cards

I'm new to livecode and I need to use some svg images in my project 我是livecode的新手,我需要在我的项目中使用一些svg图像

I haven't find info on manual and apparently the image area object can't render an svg image 我没有找到关于手动的信息,显然图像区域对象无法渲染svg图像

Can you help me? 你能帮助我吗?

Thanks 谢谢

I don't believe LiveCode supports SVG natively. 我不相信LiveCode原生支持SVG。 You might be able to use the browser object to display SVG graphics (which relies on the default browser of the system). 您可以使用浏览器对象来显示SVG图形(它依赖于系统的默认浏览器)。 If this doesn't work, you'll need convert your SVG to a standard image format (PNG, JPEG, GIF). 如果这不起作用,您需要将SVG转换为标准图像格式(PNG,JPEG,GIF)。

There is no native support yet for SVG in LiveCode. LiveCode中没有SVG的原生支持。 But there is at least one free SVG import library available. 但是至少有一个免费的SVG导入库可用。 See http://revonline2.runrev.com/stack/112/SVGL . 请参见http://revonline2.runrev.com/stack/112/SVGL In the mid-term (in the next 6 months or so), RunRev is planning to add some native SVG support to LiveCode, as a stretch goal that was met in the recent Kickstarter campaign. 在中期(在接下来的6个月左右),RunRev计划为LiveCode添加一些原生的SVG支持,作为最近Kickstarter活动中遇到的一个延伸目标。 See http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts?page=2 . 请参阅http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts?page=2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM