Page 1 of 1

[Resolved] Point(x,y) with Start/Stop Drawing

Posted: Tue Sep 10, 2013 11:39 pm
by IdeasVacuum
Would it be possible to have iColour.i = Point(x,y) work without Start/Stop Drawing?

Re: Point(x,y) with Start/Stop Drawing

Posted: Wed Sep 11, 2013 12:28 am
by STARGÅTE
Which source should point use then?

Re: Point(x,y) with Start/Stop Drawing

Posted: Wed Sep 11, 2013 12:35 am
by IdeasVacuum
A previously defined Device Context, in a similar way to the API GetPixel() function

Re: Point(x,y) with Start/Stop Drawing

Posted: Wed Sep 11, 2013 12:38 am
by STARGÅTE
in PB is Start/StopDrawing the "Device Context".
And if you want to read the pixel from the memory, you can use DrawingBuffer with PeekL().

Re: Point(x,y) with Start/Stop Drawing

Posted: Wed Sep 11, 2013 12:50 am
by IdeasVacuum
I know, I was thinking at the time "3 lines instead of 1" but it's too insignificant. :?