freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API: how much to expose


From: Stefan Seefeld
Subject: Re: API: how much to expose
Date: Wed, 15 Mar 2000 10:02:07 -0500

...and another question:

you write in the docs that 

...You can perfectly create a shortcut to the glyph slot as in: 

            {
              FT_GlyphSlot  glyph;

              .... load glyph ...
              
              glyph = face->glyph;   /* shortcut to glyph data */
              
              .... access glyph data as glyph->xxxx
            }

Now, what is the semantic of a 'shortcut' ?
It seems it is a pointer (reference). This is important to know
since then, if you call Load_Glyph on the face (which seems to
modify it's internal singleton slot) the shortcut will be invalid.

If this is true, this is another reason to decouple face and glyph
(as I proposed in the other mail).
         
Regards,        Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: address@hidden

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]