Re: vector images.
- Posted by Colin Taylor <71630.1776 at COMPUSERVE.COM> Sep 27, 1997
- 1013 views
Mike Fowler wrote: >While at home today I whipped up some vector image routines - nothing >special, but working all the same. >The three procedures I've made so far are vector_polygon (creates the >vector sequence), draw_vector (displays the vector sequence at an x,y >pos), and resize_vector (enlarges/reduces the vector size). I will >attempt a rotation procedure, but don't hold your breath. I'm sure >there's somebody out there that can do it easily... I am working on vector routines too. In fact, the main module was done = some time ago, but I haven't posted it because I am not too happy with = one small part of it (arc drawing). It is geared more to business and technical = graphics than to games. It does lines, polygons, rectangles, circles, ar= cs and = text. The closed shapes can be either be filled or outlined. The lines can be = any color, width or style (dotted, etc). Even the text can be done with styled = lines! I have also worked up a file format for vector drawings which supports al= l the = above features and enables scaling, rotation and panning of entire vector= drawings. = Still to be done: PCL print routine. I would like to see your work. Also, If anyone is interested, I could po= st my stuff (even though it is a work in progress). Colin Taylor