Search found 3 matches

by Jasim
Wed Sep 06, 2023 2:02 am
Forum: Scripting
Topic: how to import SVG in scripting?
Replies: 0
Views: 3573

how to import SVG in scripting?

I want to import SVG I can import EPS using moho:ImportEPS() and can import images using moho:FileImport() but can't figure out how to import SVG using FileImport with SVG files, it imports an image with the file name but does not display it and in the layer panel it shows as a bitmap image not a ve...
by Jasim
Sat Jun 10, 2023 2:49 am
Forum: Scripting
Topic: calculating point or shape real position
Replies: 2
Views: 411

Re: calculating point or shape real position

Thank You 😍😍😍
it took me a lot to understand πŸ˜‚
You are a Genius!
by Jasim
Fri Jun 09, 2023 4:48 am
Forum: Scripting
Topic: calculating point or shape real position
Replies: 2
Views: 411

calculating point or shape real position

Hi :D I am new to Moho scripting I am trying to get the real or world position of a selected shape, I use layer position and see if the layer is flipped but my main problem is how to calculate the origin if the origin is (0,0) then the results are fine else I get strange results sometimes outside th...