On Fri, Sep 23, 2005 at 12:48:13PM +0530, Santosh kumar wrote:
> Hi,
>  First of all thanx for replying to my earlier question.
>  My questinon is as follows:
>  First i created a surface(using dfb) in FULLSCREEN mode.I made a
> geometrical figure on that surface.
> Then i created a subsurface of this surface whose dimensions are equal to
> the surface which i created previously.Then i made a geometrical figure on
> this surface also.
>  The Result was: I was getting the figure which i had drawn on the
> subsurface but the figure which i had drawn on the main surface was not
> visible.
> My Requirement was such that both the figures should be visible.
> so what should i do to solve this.

A sub-surface is just another interface to the same underlying piece of 
memory used by the original surface. So if you draw something to the 
sub-surface you overwrite the previous contents.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

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

Reply via email to