On Sat, 2009-07-04 at 23:51 +0100, Vincent Sanders wrote:
Ok, as per the plotter API refactor "plan" I present the
first move to
using a style with the fill primative.
This is a first step, next I shall merge the outline rectangle
functionality and create the target single "rectangle" entry point.
I have slightly modified the style API to have a general raster
operation enum for both the stroke and the fill. This is with an eye
to the posibilty of using the style in a more flexible way, this has
emerged as possibly desirable during implementation, please comment if
you feel otherwise.
This looks fine. A couple of warnings from the RISC OS build:
riscos/window.c: In function 'ro_gui_window_redraw':
riscos/window.c:1486: warning: passing argument 5 of 'plot.fill' makes
pointer from integer without a cast
riscos/gui/progress_bar.c: In function
'ro_gui_progress_bar_redraw_window':
riscos/gui/progress_bar.c:513: warning: passing argument 5 of
'plot.fill' makes pointer from integer without a cast
J.