SysFn01: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
(Created page with '__NOTOC__ {{DISPLAYTITLE: Function 1 — draw point in window}} == Parameters == {| border="1" id="table1" class="wikitable sysfunc" |- ! class="header" | bits ! class="he...')
 
mNo edit summary
 
Line 21: Line 21:
|  class="type" | [[DataTypes#Int32|int32]]
|  class="type" | [[DataTypes#Int32|int32]]
|  point offset by X
|  point offset by X
|  Point position relative to paint origin (see [[SysFn00|function 0]], '''edx'''<sub>29</sub>).
|  Point position relative to paint origin.<ref name="fn00edx29"/>
|-  
|-  
!  colspan="4" class="register" | ecx
!  colspan="4" class="register" | ecx
Line 28: Line 28:
|  class="type" | [[DataTypes#Int32|int32]]
|  class="type" | [[DataTypes#Int32|int32]]
|  point offset by Y
|  point offset by Y
|  Point position relative to paint origin (see [[SysFn00|function 0]], '''edx'''<sub>29</sub>).
|  Point position relative to paint origin.<ref name="fn00edx29"/>
|-  
|-  
!  colspan="4" class="register" | edx
!  colspan="4" class="register" | edx
Line 53: Line 53:


Function doesn't return value.
Function doesn't return value.
== References ==
<references>
<ref name="fn00edx29">Paint origin flag ([[SysFn00|function 0]], '''edx'''<sub>29</sub>)</ref>
</references>


{{System functions}}
{{System functions}}
[[Category: SysCalls]]
[[Category: SysCalls]]

Latest revision as of 09:48, 2 January 2011

Parameters

bits type value description
eax
0–31 uint32 1 Function number.
ebx
0–31 int32 point offset by X Point position relative to paint origin.[1]
ecx
0–31 int32 point offset by Y Point position relative to paint origin.[1]
edx
0–23 rgb888 pixel color
24 bit flag: inverse color
  • 0 — draw point of specified color;
  • 1 — invert pixel color at coordinates, ignoring specified color.
25–31 0 Reserved.

Return value

Function doesn't return value.

References

  1. 1.0 1.1 Paint origin flag (function 0, edx29)