Older Newer
Mon, 20 Jul 2015 10:59:17 . . . . SyneRyder [Adding an example]


Changes by last author:

Added:
= endSetPixel =

== Syntax ==

:void endSetPixel(int ctl)

== Arguments ==

:ctl

::The control number of the control you were drawing on using Control drawing functions.

== Description ==

:Stops drawing to an OWNERDRAW control and display it on screen.

== Example ==

<code>

ctl(1): OWNERDRAW(drawitem), pos=(300,50), size=(100, 100)

startSetPixel(1);

setRectFill(10,20,30,40,RGB(255,0,0));

endSetPixel(1);

</code>

== Also see ==

:startSetPixel, setPixel, setRectFill

== Comments ==

:Everyone can add their comments about their experiences with this function here. Tips for using it are welcome, too.