Re: [gtk-list] Drawing lines



> 
> hello,
> I am trying to write a uml case tool using gtk.  I have a question regarding 
> drawing 'example' figures and lines.  What I want to do is say draw a line from 
> a point pre-selected, to the current position of the pointer, and make sure that 
> this line doesn't clobber the items it draws over--i.e. when the line is moved, 
> the original pixels in the line's update rectangle are redrawn.  What is the 
> easiest way to do this?  I know all the standard methods with other widget 

> Matt Zeits
> 

Drawing the lines using Xor mode?


-- 
Li-Cheng Tai (Andy Tai)                       e-mail: atai@ece.ucsd.edu

Free software:  the software by the people, of the people and for the people,
worldwide.  Develop! Share! Enhance! And enjoy!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]