Difference between revisions of "Bdisp GetPoint VRAM"
From WikiPrizm
Jump to navigationJump to search(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{syscall | {{syscall | ||
| name = Bdisp_GetPoint_VRAM | | name = Bdisp_GetPoint_VRAM | ||
− | | index = | + | | index = 0x0267 |
| signature = unsigned short Bdisp_GetPoint_VRAM(int x, int y) | | signature = unsigned short Bdisp_GetPoint_VRAM(int x, int y) | ||
− | | header = | + | | header = fxcg/display.h |
| synopsis = Gets a single point (x, y) in the Video RAM (VRAM). | | synopsis = Gets a single point (x, y) in the Video RAM (VRAM). | ||
| parameters = | | parameters = | ||
* '''x''': pixel column, 0 to 383. | * '''x''': pixel column, 0 to 383. | ||
* '''y''' - pixel row, 0 to 215. | * '''y''' - pixel row, 0 to 215. | ||
− | | returns = | + | | returns = The value of the specified [[Display#Color|pixel]]. |
− | + | | comments = It is strongly recommended that you use the VRAM-modifying functions from the [[Useful Routines]] page instead. Also refer to the [[Display|display concepts]] article. | |
− | | comments = It is strongly recommended that you use the VRAM-modifying functions from the [[Useful Routines]] page instead. | ||
}} | }} |
Latest revision as of 06:59, 29 July 2014
Contents
Synopsis
Header: fxcg/display.h
Syscall index: 0x0267
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. Also refer to the display concepts article.