CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     neo     20010519 20:44:11

Modified files:
        examples       : df_andi.c df_dok.c df_porter.c df_window.c 
        include        : directfb.h 
        src/core       : gfxcard.c gfxcard.h 
        src/display    : idirectfbsurface.c 
        src/media      : idirectfbfont.c 

Log message:
Changed GetStringWidth() and DrawString() methods so they take an
additional parameter "bytes" that specifies the number of bytes to
interpret from the passed string. Pass -1 if you intend to use the
complete NULL-terminated string.

This has several advantages: Line-breaking algorithms can be implemented
without copying the string and not NULL-terminated character arrays can
be drawn. Unfortunately this changes the API once again.



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to