Searched refs:fScale (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/utils/ |
D | SkUnitMappers.cpp | 6 fScale = 0; in SkDiscreteMapper() 12 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper() 18 x = x * fScale >> 14; in mapUnit16() 26 fScale = rb.readU32(); in SkDiscreteMapper() 41 wb.write32(fScale); in flatten()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 267 SkScalar fScale; // to get from canonical size to real size member in SkScalerContext_Windows 306 fScale = fRec.fTextSize / gCanonicalTextSize; in SkScalerContext_Windows() 308 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]); in SkScalerContext_Windows() 309 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]); in SkScalerContext_Windows() 310 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]); in SkScalerContext_Windows() 311 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]); in SkScalerContext_Windows() 470 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent; in generateFontMetrics() 471 mx->fAscent = -fScale * otm.otmAscent; in generateFontMetrics() 472 mx->fDescent = -fScale * otm.otmDescent; in generateFontMetrics() 473 mx->fBottom = fScale * otm.otmTextMetrics.tmDescent; in generateFontMetrics() [all …]
|
/external/skia/samplecode/ |
D | SampleImageDir.cpp | 177 fScale = SK_Scalar1; in ImageDirView() 209 SkScalar fScale; member in ImageDirView 231 canvas->scale(fScale, fScale); in onDraw() 294 fScale = SkScalarDiv(click->fCurr.fX, this->width()); in onClick()
|
D | SampleMeasure.cpp | 19 SkScalar fScale; member 51 SkScalar scale = gSettings[i].fScale; in doMeasure()
|
D | SampleVertices.cpp | 63 fScale = SK_Scalar1; in VerticesView() 85 SkScalar fScale; member in VerticesView
|
D | SampleApp.cpp | 305 bool fScale; member in SampleWindow 454 fScale = false; in SampleWindow() 883 if (fScale) { in beforeChild() 1105 fScale = !fScale; in onHandleChar() 1319 if (fScale) { in updateTitle()
|
/external/skia/include/core/ |
D | SkDraw.h | 141 SkScalar getPathScale() const { return fScale; } in getPathScale() 148 SkScalar fScale; variable
|
/external/skia/src/core/ |
D | SkBlitter_RGB16.cpp | 75 unsigned fScale; member in SkRGB16_Blitter 530 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 544 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), in SkRGB16_Blitter() 545 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), in SkRGB16_Blitter() 546 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter() 550 if (!fDoDither && 256 == fScale) { in justAnOpaqueColor() 589 unsigned scale = fScale; in blitAntiH() 638 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16); in blitMask() 650 unsigned scale256 = fScale; in blitMask() 670 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
|
D | SkPaint.cpp | 1752 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in SkTextToPathIter() 1754 fScale = SK_Scalar1; in SkTextToPathIter() 1781 &count, NULL), fScale); in SkTextToPathIter() 1802 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale); in next()
|
/external/skia/include/utils/ |
D | SkUnitMappers.h | 37 SkFract fScale; // computed from fSegments variable
|
/external/skia/src/effects/ |
D | SkGradientShader.cpp | 145 uint32_t fScale; // (1 << 24) / range member 292 recs->fScale = (1 << 24) / (curr - prev); in Gradient_Shader() 294 recs->fScale = 0; // ignore this segment in Gradient_Shader() 306 recs->fScale = scale; in Gradient_Shader() 342 recs[i].fScale = buffer.readU32(); in Gradient_Shader() 370 buffer.write32(recs[i].fScale); in flatten()
|