読者です 読者をやめる 読者になる 読者になる

のねのBlog

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

setBaseLayer

4478 void setBaseLayer(int layer, boolean showVisualIndicator, 4479 boolean isPictureAfterFirstLayout) { 4480 if (mNativeClass == 0) 4481 return; 4482 boolean queueFull; 4483 final int scrollingLayer = (mTouchMode == TOUCH_DRAG_LAYER_MODE)…

beginRecording

30 void PicturePileLayerContent::serialize(SkWStream* stream) 31 { 32 if (!stream) 33 return; 34 SkPicture picture; 35 draw(picture.beginRecording(width(), height(), 36 SkPicture::kUsePathBoundsForClip_RecordingFlag)); 37 picture.endRecord…

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>…

invalid use of incomplete type 'struct WTF::CString'

エラー external/webkit/Source/WebCore/platform/graphics/FontCache.cpp:426:120: error: invalid use of incomplete type 'struct WTF::CString' external/webkit/Source/JavaScriptCore/wtf/Forward.h:38:11: error: forward declaration of 'struct WTF…

ShowGlyphPage Tree

441 #ifndef NDEBUG 442 void GlyphPageTreeNode::showSubtree() 443 { 444 Vector<char> indent(level()); 445 indent.fill('\t', level()); 446 indent.append(0); 447 448 HashMap<const FontData*, GlyphPageTreeNode*>::iterator end = m_children.end(); 449 for (HashMap<const FontData*, GlyphPageTreeNode*>::ite…</const></const></char>

FontPlatformData.h

class TextRunWalker { 422 public: 423 494 private: 512 const Font* const m_font; 513 HB_ShaperItem m_item; 514 uint16_t* m_glyphs16; // A vector of 16-bit glyph ids. 515 SkPoint* m_positions; // A vector of positions for each glyph. 516 ss…

DEFINE_STATIC_LOCAL

31 // Use these to declare and define a static local variable (static T;) so that 32 // it is leaked so that its destructors are not called at exit. Using this 33 // macro also allows workarounds a compiler bug present in Apple's version o…

webkit debug

gdbclient app_process :5039 browser

GlyphMapAndroid::fill

91 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 92 { 93 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) { 94 SkDebugf("%s last char is high-surrogate", __…

platformWidthForGlyph

127 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 128 { 129 SkASSERT(sizeof(glyph) == 2); // compile-time assert 130 131 SkPaint paint; 132 133 m_platformData.setupPaint(&paint); 134 135 float advanceWidth; 136 if (EmojiFo…

GlyphPage::fill

91 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 92 { 93 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) { 94 SkDebugf("%s last char is high-surrogate", __…

classes

class SimpleFontData Cross Reference: /external/webkit/Source/WebCore/platform/graphics/SimpleFontData.hclass FontPlatformData Cross Reference: /external/webkit/Source/WebCore/platform/graphics/FontPlatformData.h class GlyphPage Cross Refe…

GlyphPage

71 class GlyphPage : public RefCounted<GlyphPage> { 72 public: 78 static const size_t size = 256; // Covers Latin-1 in a single page. 79 136 private: 143 Glyph m_glyphs[size]; 144 const SimpleFontData* m_glyphFontData[size]; 145 146 GlyphPageTreeNode</glyphpage>…

fill

GlyphPage::size 78 static const size_t size = 256; // Covers Latin-1 in a single page. 65 const UChar noBreakSpace = 0x00A0; 75 const UChar softHyphen = 0x00AD; 76 const UChar space = 0x0020; 61 const UChar leftToRightMark = 0x200E; 66 con…

platformWidthForGlyph

127 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 128 { 129 SkASSERT(sizeof(glyph) == 2); // compile-time assert 130 131 SkPaint paint; 132 133 m_platformData.setupPaint(&paint); 134 135 float advanceWidth; 136 if (EmojiFo…

widthForGlyph>platformWidthForGlyph

/external/webkit/Source/WebCore/platform/graphics/SimpleFontData.cpp" 50 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, bool isCustomFont, bool isLoading, bool isTextOrientationFallback) 51 : m_maxCharWidth(-1) 52 , m…

skcanvas->drawText

968 void LayerAndroid::onDraw(SkCanvas* canvas, SkScalar opacity, 969 android::DrawExtra* extra, PaintStyle style) 970 { 971 if (m_haveClip) { 972 SkRect r; 973 r.set(0, 0, getSize().width(), getSize().height()); 974 canvas->clipRect(r); 9…

drawText

377 #if !OS(WINCE) || PLATFORM(QT) 378 void GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to) 379 { 380 if (paintingDisabled()) 381 return; 382 383 font.drawText(this, run, point, fr…

WebKitについて

WebKit Wikipediaより概要ピックアップ1998 KDEプロジェクトのKHTML(HTMLレンダリングエンジン)と KJS(JavaScriptのエンジン)として始まる。2002 アップルがKDEプロジェクトから分岐してWebKitというプロジェクトを開始。2003 MacOSX v10.3(Panther)から…