digitalmars.D.learn - GTKD drawing area remains white even SourceRgb is changed
My code: http://dpaste.com/1X3E1HW i store colors in the accumulator-array and draw them via "cr.rectangle()". Because i have some problems with the code i set the SourceRgb-color to a constant value but if i execute the program, the window remains white.
Dec 27 2015
On 12/28/2015 12:29 AM, TheDGuy wrote:My code: http://dpaste.com/1X3E1HW i store colors in the accumulator-array and draw them via "cr.rectangle()". Because i have some problems with the code i set the SourceRgb-color to a constant value but if i execute the program, the window remains white.The values passed to setSourceRgb should be between 0 and 1. -- Mike Wey
Dec 28 2015