/external/skia/gm/ |
D | filterbitmap.cpp | 99 : fTextSize(textSize) in FilterBitmapTextGM() 101 fName.printf("filterbitmap_text_%.2fpt", fTextSize); in FilterBitmapTextGM() 105 float fTextSize; member in FilterBitmapTextGM 108 return 32.f/fTextSize; in get_scale() 112 fBM.setConfig(SkBitmap::kARGB_8888_Config, int(fTextSize * 8), int(fTextSize * 6)); in make_bitmap() 120 paint.setTextSize(fTextSize); in make_bitmap() 123 canvas.drawText("Hamburgefons", 12, fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap() 125 canvas.drawText("Hamburgefons", 12, fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap() 127 canvas.drawText("Hamburgefons", 12, fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap() 129 canvas.drawText("Hamburgefons", 12, fTextSize/2, 4.8f*fTextSize, paint); in make_bitmap()
|
D | downsamplebitmap.cpp | 93 : INHERITED(filterLevel), fTextSize(textSize) in DownsampleBitmapTextGM() 95 fName.printf("downsamplebitmap_text_%s_%.2fpt", this->filterLevelToString(), fTextSize); in DownsampleBitmapTextGM() 99 float fTextSize; member in DownsampleBitmapTextGM 102 fBM.setConfig(SkBitmap::kARGB_8888_Config, int(fTextSize * 8), int(fTextSize * 6)); in make_bitmap() 110 paint.setTextSize(fTextSize); in make_bitmap() 113 canvas.drawText("Hamburgefons", 12, fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap() 115 canvas.drawText("Hamburgefons", 12, fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap() 117 canvas.drawText("Hamburgefons", 12, fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap() 119 canvas.drawText("Hamburgefons", 12, fTextSize/2, 4.8f*fTextSize, paint); in make_bitmap()
|
/external/skia/bench/ |
D | PicturePlaybackBench.cpp | 25 fTextSize = SkIntToScalar(TEXT_SIZE); in PicturePlaybackBench() 64 SkScalar fTextSize; member in PicturePlaybackBench 76 paint.setTextSize(fTextSize); in recordCanvas() 84 for (SkScalar y = 0; y < fPictureHeight; y += fTextSize) { in recordCanvas() 101 paint.setTextSize(fTextSize); in recordCanvas() 112 for (SkScalar y = 0; y < fPictureHeight; y += fTextSize) { in recordCanvas()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkPaint.h | 686 SkScalar getTextSize() const { return fTextSize; } in getTextSize() 976 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); in setTextMatrix() 983 SkScalar fTextSize; variable
|
/external/skia/include/core/ |
D | SkPaint.h | 686 SkScalar getTextSize() const { return fTextSize; } in getTextSize() 976 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); in setTextMatrix() 983 SkScalar fTextSize; variable
|
/external/skia/src/ports/ |
D | SkFontHost_win_dw.cpp | 729 fOffscreen.init(fTypeface->fDWriteFontFace.get(), fXform, SkScalarToFloat(fRec.fTextSize)); in SkScalerContext_DW() 766 SkScalar advanceX = SkScalarMulDiv(fRec.fTextSize, in generateAdvance() 804 run.fontEmSize = SkScalarToFloat(fRec.fTextSize); in generateMetrics() 862 mx->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 864 mx->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 866 mx->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() 867 mx->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 871 my->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 873 my->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 875 my->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 712 if (rec->fTextSize > SkIntToScalar(1 << 14)) { in onFilterRec() 713 rec->fTextSize = SkIntToScalar(1 << 14); in onFilterRec() 907 …======== strike [%g %g %g] [%g %g %g %g] hints %d format %d %s\n", SkScalarToFloat(fRec.fTextSize), in SkScalerContext_FreeType()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_win_dw.cpp | 729 fOffscreen.init(fTypeface->fDWriteFontFace.get(), fXform, SkScalarToFloat(fRec.fTextSize)); in SkScalerContext_DW() 766 SkScalar advanceX = SkScalarMulDiv(fRec.fTextSize, in generateAdvance() 804 run.fontEmSize = SkScalarToFloat(fRec.fTextSize); in generateMetrics() 862 mx->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 864 mx->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 866 mx->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() 867 mx->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 871 my->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 873 my->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 875 my->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 710 if (rec->fTextSize > SkIntToScalar(1 << 14)) { in onFilterRec() 711 rec->fTextSize = SkIntToScalar(1 << 14); in onFilterRec() 845 …======== strike [%g %g %g] [%g %g %g %g] hints %d format %d %s\n", SkScalarToFloat(fRec.fTextSize), in SkScalerContext_FreeType()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkPaint.cpp | 72 fTextSize = SkPaintDefaults_TextSize; in SkPaint() 370 GEN_ID_INC_EVAL(ts != fTextSize); in setTextSize() 371 fTextSize = ts; in setTextSize() 973 SkScalar textSize = fTextSize; in setupForAsPaths() 1196 if (0 == fTextSize) { in breakText() 1549 SkScalar size = SkScalarMul(area, rec.fTextSize); in tooBigForLCD() 1580 rec->fTextSize = paint.getTextSize(); in MakeRec() 2058 buffer.writeScalar(fTextSize); in flatten()
|
D | SkScalerContext.h | 34 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
|
D | SkScalerContext.cpp | 108 rec->fTextSize, rec->fPreScaleX, rec->fPreSkewX, rec->fPost2x2[0][0], in SkScalerContext() 919 SkPaint::SetTextMatrix(m, fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
|
/external/skia/src/core/ |
D | SkPaint.cpp | 72 fTextSize = SkPaintDefaults_TextSize; in SkPaint() 370 GEN_ID_INC_EVAL(ts != fTextSize); in setTextSize() 371 fTextSize = ts; in setTextSize() 973 SkScalar textSize = fTextSize; in setupForAsPaths() 1196 if (0 == fTextSize) { in breakText() 1549 SkScalar size = SkScalarMul(area, rec.fTextSize); in tooBigForLCD() 1580 rec->fTextSize = paint.getTextSize(); in MakeRec() 2069 buffer.writeScalar(fTextSize); in flatten()
|
D | SkScalerContext.h | 34 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
|
D | SkScalerContext.cpp | 108 rec->fTextSize, rec->fPreScaleX, rec->fPreSkewX, rec->fPost2x2[0][0], in SkScalerContext() 919 SkPaint::SetTextMatrix(m, fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
|
/external/skia/src/fonts/ |
D | SkGScalerContext.cpp | 52 rec->fTextSize = STD_SIZE; in SkGScalerContext()
|
/external/chromium_org/third_party/skia/src/fonts/ |
D | SkGScalerContext.cpp | 52 rec->fTextSize = STD_SIZE; in SkGScalerContext()
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 222 SkScalar fTextSize; member 231 fTextSize(SK_ScalarNaN) { in GraphicStateEntry() 2159 contentEntry->fState.fTextSize != paint.getTextSize() || in updateFont()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 222 SkScalar fTextSize; member 231 fTextSize(SK_ScalarNaN) { in GraphicStateEntry() 2159 contentEntry->fState.fTextSize != paint.getTextSize() || in updateFont()
|