Re: Re : Release 9.0.0 DP7 / SVG

2017-06-16 Thread Mark Waddingham via use-livecode

On 2017-06-16 12:08, Frans Schoffelen via use-livecode wrote:

Thanks Mark,

I did not know that we had to recompile every single dp.I had
recompiled with dp6…


It is best to recompile again for each DP - the module format for any 
major version will be 'stable' when it gets to GM. Before that point it 
might change in any DP. This is a bit of a pain, for sure, but as I 
suggested in another email on the list, there are a couple of solutions 
lurking which will ease the pain here.



Hope it will involve complex SVG paths, colours, strokes and joins.
Maybe even a hint of animation?


Paths, colors, gradients, strokes, caps, joins certainly - I'm aiming 
for SVG Tiny 1.2 (without animation and interactivity) to begin with:


   https://www.w3.org/TR/SVGTiny12/

This can be expanded relatively quickly after that to add things which 
our libgraphics library supports (blend modes, general alpha, patterns 
and such) so we can gradually support more of the full SVG spec.


The reason for targeting SVG Tiny 1.2 is that it gives a well defined 
standard for the minimum level of features the SVG widget will support. 
For the use as scalable vector icons, it seems ideal. The other reason 
for targetting a specific spec is that it then possible to use a 
validation tool to check compliance of a given file.


I do have my eye on animation, and have a couple of ideas about how this 
could be done; I also have my eye on basic interactivity (sending events 
for mouse interaction over named elements in the SVG) - however, let's 
get something working well without animation and interactivity first, 
then we can see what we can do :)


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Re : Release 9.0.0 DP7 / SVG

2017-06-16 Thread Frans Schoffelen via use-livecode
Thanks Mark,

I did not know that we had to recompile every single dp.I had recompiled with 
dp6…

I will hear in hindsight what you can tell us about SVG implementation in 
August since
I’ll be temporarily leading a small development team at a different company and 
have
no time to spare for the LiveCode Global sessions.

Hope it will involve complex SVG paths, colours, strokes and joins. Maybe even 
a hint of animation?

Good luck to the team with the DP’s and of course with the Global Sessions.

Warmest regards

Frans




> On 16 Jun 2017, at 12:00, use-livecode-requ...@lists.runrev.com wrote:
> 
> From: Mark Waddingham >
> Subject: Re: Re : Release 9.0.0 DP7
> Date: 16 June 2017 at 11:01:25 GMT+2
> To: How to use LiveCode  >
> 
> 
> On 2017-06-16 10:55, Frans Schoffelen via use-livecode wrote:
>> Hi,
>> am I correct in seeing no progress  on the COLOUR SVG front? Even
>> worse  : Now even Peter Thirkels
>> widget has to be uninstalled. I was under the impression that
>> implementation or at least clear definition  was imminent?
>> Maybe I’m missing something?
>> When will the format for colour SVG requirements ( svg-code style etc)
>> be fixed so that widget designers can invest time?
> 
> I suspect Peter's widget just needs to be recompiled to work in 9 - if you 
> grab the lcb file from the forums, put it in a folder and use the Extension 
> Builder to compile / install it then there's no reason I can think of why it 
> wouldn't work.
> 
> In terms of more work on the SVG front, I'll be doing a talk in August in 
> LiveCode Global about SVG:
> 
> https://livecode.com/global/#schedule 
> 
> Warmest Regards,
> 
> Mark.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode