Difference between revisions of "Bdisp SetPoint VRAM"

From WikiPrizm
Jump to navigationJump to search
(Created page with '== Synopsis == '''Syscall:''' void Bdisp_SetPoint_VRAM(int x, int y, short unsigned int color); Sets a single point (x, y) in the Video RAM (VRAM) to color. === Inputs === * ''…')
 
Line 1: Line 1:
 
== Synopsis ==
 
== Synopsis ==
'''Syscall:''' void Bdisp_SetPoint_VRAM(int x, int y, short unsigned int color);
+
'''Syscall:'''
 +
 
 +
'''Function declaration:''' void Bdisp_SetPoint_VRAM(int x, int y, short unsigned int color);
  
 
Sets a single point (x, y) in the Video RAM (VRAM) to color.
 
Sets a single point (x, y) in the Video RAM (VRAM) to color.

Revision as of 10:55, 25 March 2012

Synopsis

Syscall:

Function declaration: void Bdisp_SetPoint_VRAM(int x, int y, short unsigned int color);

Sets a single point (x, y) in the Video RAM (VRAM) to color.

Inputs

  • int x - pixel column, 0 to 383.
  • int y - pixel row, 0 to 215.
  • short unsigned int color - A 5-6-5 RGB color, or a color name from color.h

Outputs

Sets pixel on the VRAM (not directly to the LCD).

Comments

This syscall is exactly like Bdisp_SetPoint_DD, except sets the point to VRAM instead. It is strongly recommended that you use the VRAM-modifying functions from the Useful Routines page instead.