gEDA-dev: PCB HID
DJ Delorie
dj at delorie.com
Mon Apr 2 19:29:19 EDT 2007
> So, if I was asking a line to go draw yourself why do I have to expect
> that line to have an understanding of the graphics context. Idealy,
> shouldn't the gui know the context?
The GUI only knows the context because the core tells it which context
to use. There are usually a handful of contexts in use at any given
time.
The abstraction is not at the PCB level. It's a little lower; the GUI
knows how to draw a graphics line, not a PCB line. So, you don't say
"draw this line" you say "draw a blue line, 4 pcb units wide, from A
to B, with round ends".
More information about the geda-dev
mailing list