Altough I have not used GapiDraw for a while I think I know what your problem is. The RGB macro works with 24-bit color and for example on a Pocket PC the color depth is only 16 bits. This means that RGB(1,1,1) will be the same color as RGB(0,0,0).
However I see that you are testing your work on a PC and I am not sure what color depth GapiDraw uses there. GapiDraw can very well be using 16 bit color representation there also to allow optimizations.