Antialiased vector graphics in LiveCode 6.5.1

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Antialiased vector graphics in LiveCode 6.5.1

Alejandro Tejada
Hi All,

Seems like there is a bug in LiveCode 6.5.1
with the property antialiased for vector graphics.
When SVGL set the antialiased of every created
polygon graphic, this graphic stays empty even
when the same script have set their fill.
The only way in which these graphics could show
their fills is setting their antialiased to false...

Look this image:
https://dl.dropboxusercontent.com/u/3834621/Svgl_error.jpg

And test for yourself:
http://livecodeshare.runrev.com/stack/112/SVGL

(When you open the Stack SVGL, click the button "Draw"
in the stack named "SVGL *" to draw the Tiger.
In the image posted this button is behind the stack
named "Import *")

Notice, this error does NOT appears with
graphics created with IDE tools, only
with graphics created in SVGL script...

Why this happens?
Does exists a workaround?

Thanks in advance!

Al
Reply | Threaded
Open this post in threaded view
|

Re: Antialiased vector graphics in LiveCode 6.5.1

Alejandro Tejada
The property fillRule [evenodd - nonzero - empty] is somehow related to this bug.

After importing some graphics using EpsImport v05C
http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip
noticed that I could set or unset the antialiased properties in
imported graphics, without affecting their fill, but...
when I set the fillRule graphic property to evenodd or nonzero
then the fill of antialiased graphic dissapears.

If I set the antialiased to false, the fill is visible,
If I set the fillRule to empty, the fill is visible and
could change the antialised without problems.

By the way, if you need to import some vector graphics from
illustrator files version 7 or less, here is nice tip that could help you,
when you need to scale these vector graphics inside a LiveCode stack.

http://andregarzia.on-rev.com/alejandro/img/Gradients03.jpg

But these questions still are unresolved:

Why does this happens? Does exists another workaround, besides
NEVER set the fillRule of vector graphics?

Al

Reply | Threaded
Open this post in threaded view
|

Re: Antialiased vector graphics in LiveCode 6.5.1

william humphrey-2
I reported a bug about six months ago with imported images. They still
print with the correct resolution but look like 8 bit graphics on the
screen. You can set the quality to "best" and then they look OK on the
screen but do not print correctly (they then print "blurry").

I got an email from LiveCode about it when I reported it and they said
they were working on it but I haven't seen a solution yet.

On Wed, Jan 15, 2014 at 1:26 AM, Alejandro Tejada
<[hidden email]> wrote:

> The property fillRule [evenodd - nonzero - empty] is somehow related to this
> bug.
>
> After importing some graphics using EpsImport v05C
> http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip
> noticed that I could set or unset the antialiased properties in
> imported graphics, without affecting their fill, but...
> when I set the fillRule graphic property to evenodd or nonzero
> then the fill of antialiased graphic dissapears.
>
> If I set the antialiased to false, the fill is visible,
> If I set the fillRule to empty, the fill is visible and
> could change the antialised without problems.
>
> By the way, if you need to import some vector graphics from
> illustrator files version 7 or less, here is nice tip that could help you,
> when you need to scale these vector graphics inside a LiveCode stack.
>
> http://andregarzia.on-rev.com/alejandro/img/Gradients03.jpg
>
> But these questions still are unresolved:
>
> Why does this happens? Does exists another workaround, besides
> NEVER set the fillRule of vector graphics?
>
> Al
>
>
>
>
>
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Antialiased-vector-graphics-in-LiveCode-6-5-1-tp4674704p4674705.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



--
http://www.bluewatermaritime.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Antialiased vector graphics in LiveCode 6.5.1

Alejandro Tejada
william humphrey-2 wrote
I reported a bug about six months ago with imported images.
[snip]
Mark Waddingham already noticed:
http://quality.runrev.com/show_bug.cgi?id=11673

About bitmap images, I noticed that animated Gif
could be resized :D
and the Dictionary needs update:
http://docs.runrev.com/Object/image




Reply | Threaded
Open this post in threaded view
|

Re: Antialiased vector graphics in LiveCode 6.5.1

william humphrey-2
Mark Waddingham also on mine?

http://quality.runrev.com/show_bug.cgi?id=11402

On Wed, Jan 15, 2014 at 8:18 PM, Alejandro Tejada
<[hidden email]> wrote:

> william humphrey-2 wrote
>> I reported a bug about six months ago with imported images.
>> [snip]
>
> Mark Waddingham already noticed:
> http://quality.runrev.com/show_bug.cgi?id=11673
>
> About bitmap images, I noticed that animated Gif
> could be resized :D
> and the Dictionary needs update:
> http://docs.runrev.com/Object/image
>
>
>
>
>
>
>
>
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Antialiased-vector-graphics-in-LiveCode-6-5-1-tp4674704p4674728.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



--
http://www.bluewatermaritime.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode