のねのBlog

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

2013-06-19から1日間の記事一覧

setupComplexFont

727 void TextRunWalker::setupFontForScriptRun() 728 { 729 const FontData* fontData = m_font->glyphDataForCharacter(m_run[0], false).fontData; 730 const FontPlatformData& platformData = 731 fontData->fontDataForCharacter(' ')->platformData(…

HashTraits

230 struct FontDataCacheKeyTraits : WTF::GenericHashTraits<FontPlatformData> { <= 継承 231 static const bool emptyValueIsZero = true; 232 static const bool needsDestruction = true; 233 static const FontPlatformData& emptyValue() 234 { 235 DEFINE_STATIC_LO</fontplatformdata>…

findfrom

179 static SkTypeface* findFromUniqueIDLocked(uint32_t uniqueID) { 180 FamilyRec* curr = gFamilyHead; 181 while (curr != NULL) { 182 for (int i = 0; i < 4; i++) { 183 SkTypeface* face = curr->fFaces[i]; 184 if (face != NULL && face->unique…

unique if

51 uint32_t SkTypeface::UniqueID(const SkTypeface* face) { 52 if (NULL == face) { 53 face = get_default_typeface(); 54 } 55 return face->uniqueID(); 56 } 57 58 bool SkTypeface::Equal(const SkTypeface* facea, const SkTypeface* faceb) {