drawing a pixel of any color in a Drawing area



I want to be able to draw a pixel of a user defined color in a drawing
area

Typically I am using gdk_draw_point
however the only styles I am aware of are black_gc and white_gc.

How can I make gdk_draw_point draw a pixel of any color in a 16bit color
space?

(NOT 24 bit color space)
Andrew
begin:vcard 
n:Price;Andrew
tel;cell:0413012830
tel;work:+61 3 99055673
x-mozilla-html:FALSE
org:Monash University;Intelligent Robot Research Centre
adr:;;Clayton Campus;Melbourne;Victoria;;Australia
version:2.1
email;internet:andrew.price@eng.monash.edu.au
title:Doctor
fn:Andrew Price
end:vcard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]