Searched refs:fScale (Results 1 - 11 of 11) sorted by relevance

/external/skia/src/utils/
H A DSkUnitMappers.cpp6 fScale = 0;
12 fScale = SK_Fract1 / (segments - 1);
18 x = x * fScale >> 14;
26 fScale = rb.readU32();
41 wb.write32(fScale);
/external/skia/include/utils/
H A DSkUnitMappers.h37 SkFract fScale; // computed from fSegments member in class:SkDiscreteMapper
/external/skia/include/core/
H A DSkDraw.h141 SkScalar getPathScale() const { return fScale; }
148 SkScalar fScale; member in class:SkTextToPathIter
/external/skia/samplecode/
H A DSampleMeasure.cpp19 SkScalar fScale; member in struct:Setting
51 SkScalar scale = gSettings[i].fScale;
H A DSampleImageDir.cpp177 fScale = SK_Scalar1;
209 SkScalar fScale; member in class:ImageDirView
231 canvas->scale(fScale, fScale);
294 fScale = SkScalarDiv(click->fCurr.fX, this->width());
H A DSampleVertices.cpp63 fScale = SK_Scalar1;
85 SkScalar fScale; member in class:VerticesView
H A DSampleApp.cpp305 bool fScale; member in class:SampleWindow
454 fScale = false;
883 if (fScale) {
1105 fScale = !fScale;
1319 if (fScale) {
/external/skia/src/ports/
H A DSkFontHost_win.cpp267 SkScalar fScale; // to get from canonical size to real size member in class:SkScalerContext_Windows
306 fScale = fRec.fTextSize / gCanonicalTextSize;
308 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]);
309 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]);
310 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]);
311 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]);
470 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent;
471 mx->fAscent = -fScale * otm.otmAscent;
472 mx->fDescent = -fScale * otm.otmDescent;
473 mx->fBottom = fScale * ot
[all...]
/external/skia/src/core/
H A DSkBlitter_RGB16.cpp75 unsigned fScale; member in class:SkRGB16_Blitter
76 uint16_t fColor16; // already scaled by fScale
530 fScale = SkAlpha255To256(SkColorGetA(color));
544 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS),
545 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS),
546 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS));
550 if (!fDoDither && 256 == fScale) {
589 unsigned scale = fScale;
638 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16);
650 unsigned scale256 = fScale;
[all...]
H A DSkPaint.cpp1766 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths;
1768 fScale = SK_Scalar1;
1795 &count, NULL), fScale);
1816 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
/external/skia/src/effects/
H A DSkGradientShader.cpp145 uint32_t fScale; // (1 << 24) / range member in struct:Gradient_Shader::Rec
263 // recs->fScale = 0; // unused;
292 recs->fScale = (1 << 24) / (curr - prev);
294 recs->fScale = 0; // ignore this segment
306 recs->fScale = scale;
342 recs[i].fScale = buffer.readU32();
370 buffer.write32(recs[i].fScale);

Completed in 143 milliseconds