Hi All,

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 alphablend to achieve
 anti-aliasing edge?

Thanks a lot.

Jack


      
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to