Home
last modified time | relevance | path

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

/external/skia/gm/
Ddownsamplebitmap.cpp111 : INHERITED(filterQuality), fTextSize(textSize) in DownsampleBitmapTextGM()
113 … fName.printf("downsamplebitmap_text_%s_%.2fpt", this->filterQualityToString(), fTextSize); in DownsampleBitmapTextGM()
117 float fTextSize; member in DownsampleBitmapTextGM
120 fBM.allocN32Pixels(int(fTextSize * 8), int(fTextSize * 6)); in make_bitmap()
127 paint.setTextSize(fTextSize); in make_bitmap()
130 canvas.drawText("Hamburgefons", 12, fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap()
132 canvas.drawText("Hamburgefons", 12, fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap()
134 canvas.drawText("Hamburgefons", 12, fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap()
136 canvas.drawText("Hamburgefons", 12, fTextSize/2, 4.8f*fTextSize, paint); in make_bitmap()
Dfilterbitmap.cpp105 : fTextSize(textSize) in FilterBitmapTextGM()
107 fName.printf("filterbitmap_text_%.2fpt", fTextSize); in FilterBitmapTextGM()
111 float fTextSize; member in FilterBitmapTextGM
114 return 32.f/fTextSize; in getScale()
118 fBM.allocN32Pixels(int(fTextSize * 8), int(fTextSize * 6)); in makeBitmap()
125 paint.setTextSize(fTextSize); in makeBitmap()
128 canvas.drawText("Hamburgefons", 12, fTextSize/2, 1.2f*fTextSize, paint); in makeBitmap()
130 canvas.drawText("Hamburgefons", 12, fTextSize/2, 2.4f*fTextSize, paint); in makeBitmap()
132 canvas.drawText("Hamburgefons", 12, fTextSize/2, 3.6f*fTextSize, paint); in makeBitmap()
134 canvas.drawText("Hamburgefons", 12, fTextSize/2, 4.8f*fTextSize, paint); in makeBitmap()
Dlcdtext.cpp106 SkScalar fTextSize; in onDraw() member
120 paint.setTextSize(rec[i].fTextSize); in onDraw()
/external/skia/bench/
DPicturePlaybackBench.cpp27 fTextSize = SkIntToScalar(TEXT_SIZE); in PicturePlaybackBench()
65 SkScalar fTextSize; member in PicturePlaybackBench
77 paint.setTextSize(fTextSize); in recordCanvas()
85 for (SkScalar y = 0; y < fPictureHeight; y += fTextSize) { in recordCanvas()
102 paint.setTextSize(fTextSize); in recordCanvas()
113 for (SkScalar y = 0; y < fPictureHeight; y += fTextSize) { in recordCanvas()
/external/skia/samplecode/
DSampleQuadStroker.cpp123 SkScalar fTextSize; member in QuadStrokerView
167 fTextSize = 12; in QuadStrokerView()
205 fTextSize = SkTMax(1.0f, fTextSize - 1); in onQuery()
209 fTextSize += 1; in onQuery()
666 paint.setTextSize(fTextSize); in onDrawContent()
667 paint.getTextPath(fText.c_str(), fText.size(), 0, fTextSize, &path); in onDrawContent()
669 draw_stroke(canvas, path, width * fWidthScale / fTextSize, fTextSize, true); in onDrawContent()
/external/skia/src/core/
DSkPaint.cpp59 fTextSize = SkPaintDefaults_TextSize; in SkPaint()
92 COPY(fTextSize); in SkPaint()
119 MOVE(fTextSize); in SkPaint()
163 COPY(fTextSize); in operator =()
196 MOVE(fTextSize); in operator =()
222 && EQUAL(fTextSize) in operator ==()
375 fTextSize = ts; in setTextSize()
728 SkScalar textSize = fTextSize; in setupForAsPaths()
902 if (0 == fTextSize) { in breakText()
1225 m.setScale(fTextSize * fTextScaleX, fTextSize); in getFontBounds()
[all …]
DSkGlyphCache.cpp406 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
412 face->uniqueID(), name.c_str(), face->style(), rec.fTextSize, in dump()
579 rec.fTextSize, rec.fPreScaleX, rec.fPreSkewX, in dump_visitor()
DSkScalerContext.h29 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
DSkScalerContext.cpp101 rec->fTextSize, rec->fPreScaleX, rec->fPreSkewX, rec->fPost2x2[0][0], in SkScalerContext()
700 SkPaint::SetTextMatrix(m, fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
/external/skia/include/core/
DSkPaint.h672 SkScalar getTextSize() const { return fTextSize; } in getTextSize()
1025 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); in setTextMatrix()
1044 SkScalar fTextSize; variable
/external/skia/src/gpu/
DGrPathRendering.cpp69 rec.fTextSize = SkPaint::kCanonicalTextSizeForPaths; in createGlyphs()
/external/skia/src/fonts/
DSkGScalerContext.cpp51 rec->fTextSize = STD_SIZE; in SkGScalerContext()
/external/skia/src/pdf/
DSkPDFDevice.cpp214 SkScalar fTextSize; member
223 fTextSize(SK_ScalarNaN) { in GraphicStateEntry()
2183 contentEntry->fState.fTextSize != paint.getTextSize() || in updateFont()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp682 if (rec->fTextSize > SkIntToScalar(1 << 14)) { in onFilterRec()
683 rec->fTextSize = SkIntToScalar(1 << 14); in onFilterRec()