Difference between revisions of "Bdisp GetPoint DD"

From WikiPrizm
Jump to navigationJump to search
(Created page with '== Synopsis == '''Syscall:''' '''Function declaration:''' short unsigned int Bdisp_GetPoint_DD(int x, int y); Gets a single point (x, y) in the LCD, and returns it. === Inputs …')
 
Line 1: Line 1:
== Synopsis ==
+
{{syscall
'''Syscall:'''
+
| name = Bdisp_GetPoint_DD
'''Function declaration:''' short unsigned int Bdisp_GetPoint_DD(int x, int y);
+
| signature = unsigned short Bdisp_GetPoint_DD(int x, int y);
 
+
| synopsis = Get the value of a pixel on screen.
Gets a single point (x, y) in the LCD, and returns it.
+
| parameters =
 
+
* '''x''': pixel column, 0 to 383.
=== Inputs ===
+
* '''y''': pixel row, 0 to 215.
* ''int'' '''x''' - pixel column, 0 to 383.
+
| returns =
* ''int'' '''y''' - pixel row, 0 to 215.
+
* The value of the pixel at (x,y) on the screen, which is a [[color|5-6-5]] RGB triple.
 
+
}}
=== Outputs ===
 
* ''short unsigned int'' - A 5-6-5 RGB color
 
 
 
== Comments ==
 
 
 
[[Category: Syscalls]]
 

Revision as of 16:42, 14 May 2012


Synopsis

Header: Not documented
Syscall index: Not documented
Function signature: unsigned short Bdisp_GetPoint_DD(int x, int y);

Get the value of a pixel on screen.

Parameters

  • x: pixel column, 0 to 383.
  • y: pixel row, 0 to 215.

Returns

  • The value of the pixel at (x,y) on the screen, which is a 5-6-5 RGB triple.