9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Q: libdraw, loadimage, allocimage
@ 2003-10-21  9:04 a.b
  2003-10-21 14:21 ` mirtchov
  0 siblings, 1 reply; 3+ messages in thread
From: a.b @ 2003-10-21  9:04 UTC (permalink / raw)
  To: 9fans

hi!

could anyone, please, help me?

i have no problem with line, fillelipse, bezier and so on.
but i can't put bitmap image onto screen. i red man, draw.h, faces,
but my code is not working. 
could you show me the solution for this code:

uchar bitmap[]={0xff,0x00.......}    /* CMAP8 image */
image=allocimage("help me here!");
loadimage(image,bitmap,sizeof(bitmap),"help me here!");
draw("help me here!");

thank everyone for help :-)
Sasa Babic (a.b@email.cz)


________________________________________________________________________________
Aktuálně: Soutěžte o sušičku prádla Ariston A 46 C s Obchodním domem.cz na http://www.email.cz/obchodnidum




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-22  1:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21  9:04 [9fans] Q: libdraw, loadimage, allocimage a.b
2003-10-21 14:21 ` mirtchov
2003-10-22  1:22   ` okamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).