Re: [AD] allegro 5 text routines and length parameter

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-03-11, Doug Eleveld <djeleveld@xxxxxxxxxx> wrote:
> From: Elias Pschernig <elias@xxxxxxxxxx...> - 2008-03-10 11:43
> >Can you give an example where this is a problem and
> >the int length is an
> >advantage?
> >
> >Anyway, I think we did not decide yet what to do
> >with the string API.
> >Like, do we want to prefix the A4 string API with
> >al_ and just use it in
> >A5 1:1?
> 
> Most text drawing APIs seem to have a length parameter
> (X11, GDI) so I assume its generally considered worth
> the effort.
> 
> I noticed that length parameter is useful for
> character or word-wrapping or even trying to nicely
> handle newlines.

Sounds reasonable to me.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/