Home
last modified time | relevance | path

Searched refs:fTextSize (Results 1 – 13 of 13) 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.drawString("Hamburgefons", fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap()
132 canvas.drawString("Hamburgefons", fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap()
134 canvas.drawString("Hamburgefons", fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap()
136 canvas.drawString("Hamburgefons", 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.drawString("Hamburgefons", fTextSize/2, 1.2f*fTextSize, paint); in makeBitmap()
130 canvas.drawString("Hamburgefons", fTextSize/2, 2.4f*fTextSize, paint); in makeBitmap()
132 canvas.drawString("Hamburgefons", fTextSize/2, 3.6f*fTextSize, paint); in makeBitmap()
134 canvas.drawString("Hamburgefons", fTextSize/2, 4.8f*fTextSize, paint); in makeBitmap()
Dlcdtext.cpp107 SkScalar fTextSize; in onDraw() member
121 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()
665 paint.setTextSize(fTextSize); in onDrawContent()
666 paint.getTextPath(fText.c_str(), fText.size(), 0, fTextSize, &path); in onDrawContent()
668 draw_stroke(canvas, path, width * fWidthScale / fTextSize, fTextSize, true); in onDrawContent()
/external/skia/src/core/
DSkPaint.cpp51 fTextSize = SkPaintDefaults_TextSize; in SkPaint()
80 , COPY(fTextSize) in SkPaint()
101 MOVE(fTextSize); in SkPaint()
128 ASSIGN(fTextSize); in operator =()
155 MOVE(fTextSize); in operator =()
178 && EQUAL(fTextSize) in operator ==()
335 fTextSize = ts; in setTextSize()
686 SkScalar textSize = fTextSize; in setupForAsPaths()
853 if (0 == fTextSize) { in breakText()
1213 m.setScale(fTextSize * fTextScaleX, fTextSize); in getFontBounds()
[all …]
DSkGlyphCache.cpp387 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
393 face->uniqueID(), name.c_str(), face->style(), rec.fTextSize, in dump()
559 rec.fTextSize, rec.fPreScaleX, rec.fPreSkewX, in dump_visitor()
DSkScalerContext.h45 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
DSkScalerContext.cpp88 rec->fTextSize, rec->fPreScaleX, rec->fPreSkewX, rec->fPost2x2[0][0], in SkScalerContext()
682 SkPaintPriv::MakeTextMatrix(m, fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
/external/skia/src/pdf/
DSkPDFCanon.h54 SkScalar fTextSize; // float32 member
/external/skia/src/gpu/
DGrPathRendering.cpp91 rec.fTextSize = SkPaint::kCanonicalTextSizeForPaths; in createGlyphs()
/external/skia/include/core/
DSkPaint.h641 SkScalar getTextSize() const { return fTextSize; } in getTextSize()
1033 SkScalar fTextSize; variable
/external/skia/src/ports/
DSkFontHost_FreeType.cpp660 if (rec->fTextSize > SkIntToScalar(1 << 14)) { in onFilterRec()
661 rec->fTextSize = SkIntToScalar(1 << 14); in onFilterRec()