1. VEGA Vector Graphics Library
- Posted by Colin Taylor <cetaylor at COMPUSERVE.COM>
Jun 07, 1999
-
Last edited Jun 08, 1999
Hi all,
I have sent Rob a copy of the VEGA Vector Graphic Library, so it should b=
e
posted eventually once he reaches that first Linux plateau
Vega is an extension to Euphoria's 2D vector graphic vocabulary which doe=
s
the usual things like lines, polygons, ellipses; but also adds rectangles=
,
circles, arcs, spline curves and vector text. These can be drawn filled
(if they are closed shapes) or with plain or fancy lines (fancy meaning
dotted, dashed and/or wide lines).
There are routines for moving, scaling, rotating or mirroring groups of
points. There are also routines for making viewports and clipping graphi=
cs
(including text) at viewport edges. There is provision for adding new
fonts and line styles. The library includes a rudimentary but fully
functional virtual display system.
At the moment the library has no machine language, but is still pretty fa=
st
and seems stable (snort). I have a few other components which I will add=
shortly, including a display-list processor which lets you define any kin=
d
of vector image as a single graphic object which you can save to a file,
move around the screen, etc.
Anyway, I hope a few of you find all this useful. It's not really meant
for games - more for technical stuff - but who knows? If you find any
bugs, or if you think the library is missing some important feature, plea=
se
let me know.
Colin Taylor