delorie.com/archives/browse.cgi | search |
On Wed, 2013-07-31 at 10:05 -0500, Edward Hennessy wrote: > I would find that helpful too. For example, drawing the emitter line > and arrow of the transistor on the orthogonal axis, and then rotating > the objects into the final position. > > Or, it would be valuable if gschem could add an arrow to the end of an > arbitrary line. > A 45 degree line is always trivial to draw -- make a horizontal and a vertical one of same length, and connect the ends diagonal. For other odd angles the result looks not always perfect, when you rotate a line, because of the limited resolution of the screen. When I have drawn short arrow, I have built my odd lines by patterns like: go two pixel to the right and one down, and repeat that as many times as necessary. Getting such a symmetric result by rotating lines works not always well. Text rotated by arbitrary angle should be fine, and basically very easy due to cairo.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |