Home
last modified time | relevance | path

Searched refs:fTextSize (Results 1 – 19 of 19) sorted by relevance

/external/skia/gm/
Dfilterbitmap.cpp99 : 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()
Ddownsamplebitmap.cpp93 : 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/
DPicturePlaybackBench.cpp25 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/
DSkPaint.h686 SkScalar getTextSize() const { return fTextSize; } in getTextSize()
976 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); in setTextMatrix()
983 SkScalar fTextSize; variable
/external/skia/include/core/
DSkPaint.h686 SkScalar getTextSize() const { return fTextSize; } in getTextSize()
976 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); in setTextMatrix()
983 SkScalar fTextSize; variable
/external/skia/src/ports/
DSkFontHost_win_dw.cpp729 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 …]
DSkFontHost_FreeType.cpp712 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/
DSkFontHost_win_dw.cpp729 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 …]
DSkFontHost_FreeType.cpp710 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/
DSkPaint.cpp72 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()
DSkScalerContext.h34 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
DSkScalerContext.cpp108 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/
DSkPaint.cpp72 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()
DSkScalerContext.h34 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
DSkScalerContext.cpp108 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/
DSkGScalerContext.cpp52 rec->fTextSize = STD_SIZE; in SkGScalerContext()
/external/chromium_org/third_party/skia/src/fonts/
DSkGScalerContext.cpp52 rec->fTextSize = STD_SIZE; in SkGScalerContext()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFDevice.cpp222 SkScalar fTextSize; member
231 fTextSize(SK_ScalarNaN) { in GraphicStateEntry()
2159 contentEntry->fState.fTextSize != paint.getTextSize() || in updateFont()
/external/skia/src/pdf/
DSkPDFDevice.cpp222 SkScalar fTextSize; member
231 fTextSize(SK_ScalarNaN) { in GraphicStateEntry()
2159 contentEntry->fState.fTextSize != paint.getTextSize() || in updateFont()