SilverScreen Solid Modeler

draw_rgb_pixel

draw_rgb_pixel

Previous topic Next topic  

draw_rgb_pixel

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void draw_rgb_pixel ( int x1, int y1, RGB rgb )

 

int x1;               // x value of point 1

int y1;               // y value of point 1

RGB rgb;              // color to use

 

 




Synopsis

#include "silver.h"

 

The draw_rgb_pixel function draws a pixel on the graphics screen in the specified rgb color at the pixel coordinates (x1 , y1).

 

 

Parameters

x1 and y1 are integers, such that 0 <= x1  < spixel_width and 0 <= y1 < spixel_height. rgb is an rgb color as constructed by MAKE_RGB.

 

 

Return Value

none

 

 

See Also

draw_point , draw_world_line , draw_world_point , refresh_lines , clear_away_lines