abakiz, did you manage to fix this issue? Im working on something similar and as I am new to this struggling with:
void PixelPlotterForm:rawRectangle( int X, int Y, int Width, int Height, Color PixelColour )