Michael Metsger wrote:
> I'm newbie in directfb. I want to know:
> 1)How can I put bitmap (o_glyph = (bitmap*)glyph;) on surface?

Basically there are two ways to do this:
1. Lock() the surface, copy the bitmap contents to surface's memory,
Unlock()
2. Create a preallocated surface (DSCAPS_PREALLOCATED) with the bitmap
contents, then Blit() the preallocated surface to your surface.

> 2)How can I put point on surface?
>  

Using FillRectangle().

-- 
Regards,
     Claudio Ciccani

[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to