> in the handler routine of an object I created I use fl_line to
> draw a small, black "diamond" with the following calls:
>
> fl_line(ob->x+xmin+4, ob->y+hahe, ob->x+xmin, ob->y+hahe+4, FL_BLACK);
> [...]
> The problem is that I don't get a "full" diamond, there's a pixel missing
> at the right corner (the one at xmin+4, hahe), like it was not drawn, or
> it was drawn and then erased.
> Any suggestions besides going back to XDrawLine?
fl_line() nothing other than a wrapper around XDrawLine() so using
XDrawLine() should produce the same results.
Are you doing anything with the GC (Graphics Context), perhaps
changing the line width? If you use a non-zero line width, this can
cause strangenesses.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/