December 27, 2015 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. |
December 28, 2015 Re: GTKD drawing area remains white even SourceRgb is changed | ||||
---|---|---|---|---|
| ||||
Posted in reply to TheDGuy | 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 |
Copyright © 1999-2021 by the D Language Foundation