Function 1 — draw point in window

From KolibriOS wiki
Jump to navigation Jump to search

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)