のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

fBaseGlyphCount

    148 SkScalerContext* SkScalerContext::getNextContext() {
    149     SkScalerContext* next = fNextContext;
    150     // if next is null, then either it isn't cached yet, or we're at the
    151     // end of our possible chain
    152     if (NULL == next) {
    153         next = allocNextContext(fRec);
    154         if (NULL == next) {
    155             return NULL;
    156         }
    157         // next's base is our base + our local count
    158         next->setBaseGlyphCount(fBaseGlyphCount + this->getGlyphCount());
    159         // cache the answer
    160         fNextContext = next;
    161     }
    162     return next;
    163 }
    114 unsigned SkGlyphCache::getGlyphCount() {
    115     return fScalerContext->getGlyphCount();
    116 }
    301     unsigned    getGlyphCount() { return this->generateGlyphCount(); }
    924 unsigned SkScalerContext_FreeType::generateGlyphCount() {
    925     return fFace->num_glyphs;
    926 }