Re: Set color to a single point in Cairo

2015-12-22 Thread Luis via Digitalmars-d-learn
On Sunday, 20 December 2015 at 01:17:50 UTC, Basile B. wrote: On Saturday, 19 December 2015 at 14:16:23 UTC, TheDGuy wrote: is it possible to set the color of a single pixel with Cairo? Not like you would do with a classic canvas (2d grid), because colors are applied with `cairo_fill()` and `

Re: Set color to a single point in Cairo

2015-12-21 Thread Basile B. via Digitalmars-d-learn
On Sunday, 20 December 2015 at 11:16:06 UTC, TheDGuy wrote: On Sunday, 20 December 2015 at 01:17:50 UTC, Basile B. wrote: On Saturday, 19 December 2015 at 14:16:23 UTC, TheDGuy wrote: is it possible to set the color of a single pixel with Cairo? Not like you would do with a classic canvas (2d

Re: Set color to a single point in Cairo

2015-12-20 Thread TheDGuy via Digitalmars-d-learn
On Sunday, 20 December 2015 at 01:17:50 UTC, Basile B. wrote: On Saturday, 19 December 2015 at 14:16:23 UTC, TheDGuy wrote: is it possible to set the color of a single pixel with Cairo? Not like you would do with a classic canvas (2d grid), because colors are applied with `cairo_fill()` and `

Re: Set color to a single point in Cairo

2015-12-19 Thread Basile B. via Digitalmars-d-learn
On Saturday, 19 December 2015 at 14:16:23 UTC, TheDGuy wrote: is it possible to set the color of a single pixel with Cairo? Not like you would do with a classic canvas (2d grid), because colors are applied with `cairo_fill()` and `cairo_stroke()` on a particular path. but you can define a p

Set color to a single point in Cairo

2015-12-19 Thread TheDGuy via Digitalmars-d-learn
Hello, is it possible to set the color of a single pixel with Cairo?