Difference between revisions of "Bdisp GetPoint VRAM"

From WikiPrizm
Jump to navigationJump to search
(Created page with '== Synopsis == '''Syscall:''' '''Function declaration:''' short unsigned int Bdisp_GetPoint_VRAM(int x, int y); Gets a single point (x, y) in the Video RAM (VRAM), and returns i…')
 
Line 1: Line 1:
== Synopsis ==
+
{{syscall
'''Syscall:'''
+
| name = Bdisp_GetPoint_VRAM
'''Function declaration:''' short unsigned int Bdisp_GetPoint_VRAM(int x, int y);
+
| index =
 
+
| signature = unsigned short Bdisp_GetPoint_VRAM(int x, int y)
Gets a single point (x, y) in the Video RAM (VRAM), and returns it.
+
| header =
 
+
| synopsis = Gets a single point (x, y) in the Video RAM (VRAM).
=== Inputs ===
+
| parameters =
* ''int'' '''x''' - pixel column, 0 to 383.
+
* '''x''': pixel column, 0 to 383.
* ''int'' '''y''' - pixel row, 0 to 215.
+
* '''y''' - pixel row, 0 to 215.
 
+
| returns =
=== Outputs ===
+
* The value of the specified [[Display#Color|pixel]].
* ''short unsigned int'' - A 5-6-5 RGB color
+
| comments = It is strongly recommended that you use the VRAM-modifying functions from the [[Useful Routines]] page instead.
 
+
}}
== Comments ==
 
It is strongly recommended that you use the VRAM-modifying functions from the [[Useful Routines]] page instead.
 
 
 
[[Category: Syscalls]]
 

Revision as of 23:54, 16 May 2012


Synopsis

Header:
Syscall index:
Function signature: unsigned short Bdisp_GetPoint_VRAM(int x, int y)

Gets a single point (x, y) in the Video RAM (VRAM).

Parameters

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

Returns

  • The value of the specified pixel.

Comments

It is strongly recommended that you use the VRAM-modifying functions from the Useful Routines page instead.