So I've implemented a line drawing algorithm, and even understand how to draw anti-aliased lines But I haven't seen anything about drawing lines of varying width. I suspect that simply drawing several single pixel wide lines adjacent to each other will leave unmarked pixels interior to the overall line in many cases with the default bresenham line algorithm. I suspect that the "correct" method is to draw a filled polygon (or filled rectangle). But I'm hoping there's an easier answer. Any pointers or clues? This is going on an ARM processor with an LCD controller, but no graphics accelerator. It is running Linux, and I've looked at a variety of graphics libraries, but the majority appear to target X (which I'm not running), and the others don't appear to do what I need or are poorly supported to the point where implementing my own primitives appears to be speedier than trying to get their code working on this embedded platform. This is going straight to a frame buffer, but I've already got the pixel routines (including alpha blending). Ultimately I want to be able to draw semi-transparent open polygons (non filled) with borders that are more than one pixel wide. Any ideas or suggested appreciated. I'll probably have to implement this next week (hey, I'm planning ahead - who'd'a thunk it?) Of course, as usual the project is growing in complexity the further I pursue it, so any suggestions on simple windowing libraries with framebuffer/alpha/PNG/font support would be appreciated as well. As would suggestions for mailing lists and forums where such information can more eaily be found. -Adam -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Moving in southeast Michigan? Buy my house: http://ubasics.com/house/ Interested in electronics? Check out the projects at http://ubasics.com Building your own house? Check out http://ubasics.com/home/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist