Difference between revisions of "Bdisp SetPoint DD"

From WikiPrizm
Jump to navigationJump to search
Line 1: Line 1:
== Synopsis ==
+
{{syscall
'''Syscall:''' 0x026B
+
| name = Bdisp_SetPoint_DD
 
+
| index = 0x026B
'''Function declaration:''' void Bdisp_SetPoint_DD(int x, int y, short unsigned int color);
+
| signature = void Bdisp_SetPoint_DD(int x, int y, unsigned short color)
 
+
| synopsis = Sets a single pixel on the screen, bypassing VRAM.
Sets a single point (x, y) in the LCD to color.
+
| parameters =
 
+
* '''x''': pixel column, 0 to 383.
=== Inputs ===
+
* '''y''': pixel row, 0 to 215.
* ''int'' '''x''' - pixel column, 0 to 383.
+
* '''color''': Pixel value to write.
* ''int'' '''y''' - pixel row, 0 to 215.
+
| comments = You'll usually want to write to VRAM, rather than directly to the display as this function does.
* ''short unsigned int'' '''color''' - A 5-6-5 RGB color, or a color name from color.h
+
}}
 
 
=== Outputs ===
 
Sets pixel on the LCD (''not'' in the VRAM buffer).
 
 
 
== Comments ==
 
It is strongly recommended that you use the VRAM-modifying functions from the [[Useful Routines]] page instead.
 
 
 
[[Category: Syscalls]]
 

Revision as of 00:12, 17 May 2012


Synopsis

Header: Not documented
Syscall index: 0x026B
Function signature: void Bdisp_SetPoint_DD(int x, int y, unsigned short color)

Sets a single pixel on the screen, bypassing VRAM.

Parameters

  • x: pixel column, 0 to 383.
  • y: pixel row, 0 to 215.
  • color: Pixel value to write.

Comments

You'll usually want to write to VRAM, rather than directly to the display as this function does.