On Fri, 2002-11-22 at 16:38, Carl Worth wrote:
>
> Beyond that, we need variations of each that allow explicit
> offsets. I'm inclined to have a single structure for storing the
> offsets for either a string or glyphs rather than separate
> CharSpec/GlyphSpec structures ala Xft. Maybe something like:
> 
>       XrShowTextOffsets
>       XrShowGlyphsOffsets
> 
> each accepting an array of XPointDouble?

Why not two arrays of doubles, one of them for the X offsets and the
other one for the Y offsets (NULL means "everything's 0").

Usually you only care about the X offsets, so that way you don't have to
allocate/initialize the Y array if you don't need it.

Cheers,

-- 
Joaqu�n Cuenca Abela
[EMAIL PROTECTED]

_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to