On Tue, 2008-01-29 at 16:17 +0100, Denis Oliver Kropp wrote:
> Sven Luther wrote:
> > You could also have another mode to crop the text after a certain
> width,
> > altough it is probably possible to do that by cropping surfaces while
> > blitting.
> 
> Just use SetClip().

Hm, using SetClip() might look ugly, because a glyph can be clipped
right somewhere inside it's area. So one would even then have to
calculate the string's extents in pixels (which sometimes isn't ideal
either because of kerning). So better not use SetClip() :-)


Andre'



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

Reply via email to