Hi,

I tried the following codes, but did not see anti-aliasing edge.
-------------------------------------------------------------------------------------------
    primary->SetDrawingFlags(primary, SDRAW_BLEND);
        
    DFBSurfaceRenderOptions        render_options = DSRO_ANTIALIAS;

    primary->SetRenderOptions(primary, render_options);

    primary->SetColor (primary, 0xff, 0xff, 0x00, 0xff)

    primary->FillTriangle( ...... )
    ......
-------------------------------------------------------------------------------------------

In the DirectFB reference, DSRO_ANTIALIAS needs "alphablend must be enabled". 
How to set the render to achieve anti-aliasing edge?

Thanks a lot.

Jack



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

Reply via email to