Vector graphics anyone?

MisterX b.xavier at internet.lu
Tue Jun 29 01:02:05 EDT 2004


There is a simpler way to smooth out these curves.
without need for plug ins and thus Mac linux friendly
too. Its also lighter than doing it via graphics imported
from eps or image editors.

In the typical case of a circle, draw a circle over or under 
(ink scrAND or nor NotSrcXor setting change required if over 
the other graphic but preferable under).

Add a 1 to 2 bit line-size increase for the jag remover object,
you may also want to increase it's rect a pixel or 2...

Divide or multiply the color value such that it is half
the saturation or luminosity of the object you want to blend in.

Dont forget to center the objects. 

To make it even smoother, you can do this with 3 or 4 objects in
a background blendling color gradient. If there are images or 
graphics behind these objects, you may have to play with the 
inks a bit more... 

The SVG method is definitely a bit less involved but it may have
future incompatibilities which this method probably will not
have. However this method may be a bit heavier stack size wise and
refresh wize too if you do vector animation...

Enjoy
Xavier

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Bob Warren
> Sent: Monday, June 28, 2004 23:44
> To: use-revolution at lists.runrev.com
> Subject: Vector graphics anyone?
> 
> 
> Probably, most of you don't make a lot of use of drawing 
> facilities in your
> programming, since what you get is jagged lines that are not 
> pleasing to the
> eye. The new SVG (Scalable Vector Graphics) solves this problem, 
> and I have
> written a short article showing you how to make vector designs in a
> Revolution stack. The said article can be found at
> http://www.howsoft.com/runrev/svg.htm
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list