On Tue, Sep 22, 2009 at 12:34:18PM +0200, Stephan Assmus wrote: > > On 2009-09-22 at 10:33:34 [+0200], Caitlin Shaw <rogueeve@xxxxxxxxxxxxx> > wrote: > > I am porting an old app over from Windows, and during one part it is > > supposed to draw a line and then erase it by drawing over it in the > > background color. This doesn't work under Haiku because non-straight > > calls to StrokeLine are antialiased, so the line is not completely > > erased. > > [....] I know how to disable _font_ antialiasing, but how to > > disable it for other sorts of drawing? > > Uh, I am afraid that's not currently possible. The code in > src/servers/app/drawing/Painter/Painter.cpp would need to be adopted to > support non-anti-aliased drawing. This is a major change from BeOS, then? It certainly seems to explain why my 'rubber-banding' in MusicWeaver no longer works. (:-/) (I used B_OP_INVERT, so I could just draw over an existing line to erase it.) What would be the preferred method to draw a rubber-band line in Haiku? -- Pete --