Home
last modified time | relevance | path

Searched refs:fScale (Results 1 – 25 of 83) sorted by relevance

1234

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPrint3D.cpp493 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour,… in Print3D() argument
524 m_nCachedNumVerts = UpdateLine(0.0f, fPosX, fPosY, fScale, Colour, UTF32, m_pPrint3dVtx); in Print3D()
546 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour,… in Print3D() argument
571 …tring) != 0 || m_fPrevX != fPosX || m_fPrevY != fPosY || m_fPrevScale != fScale || m_uiPrevCol != … in Print3D()
577 m_fPrevScale = fScale; in Print3D()
599 return Print3D(fPosX, fPosY, fScale, Colour, m_CachedUTF32, bUpdate); in Print3D()
616 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour,… in Print3D() argument
633 …tring) != 0 || m_fPrevX != fPosX || m_fPrevY != fPosY || m_fPrevScale != fScale || m_uiPrevCol != … in Print3D()
639 m_fPrevScale = fScale; in Print3D()
650 return Print3D(fPosX, fPosY, fScale, Colour, m_CachedUTF32, bUpdate); in Print3D()
[all …]
DPVRTPrint3D.h178 …EPVRTError Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const char *…
193 …EPVRTError Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const wchar_…
219 float fScale,
233 float fScale,
279 …unsigned int UpdateLine(const float fZPos, float XPos, float YPos, const float fScale, const unsig…
350 float fScale,
363 …EPVRTError Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const CPVRTA…
/external/skia/samplecode/
DSampleAnimatedText.cpp43 AnimatedTextView() : fScale(1.0f), fScaleInc(0.1f), fRotation(0.0f), fSizeScale(1) { in AnimatedTextView()
113 canvas->scale(fScale, fScale); in onDrawContent()
136 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f)); in onAnimate()
137 if (fScale >= 2.0f) { in onAnimate()
139 } else if (fScale <= 1.0f) { in onAnimate()
146 float fScale; member in AnimatedTextView
DSampleGlyphTransform.cpp52 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()
68 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate()
81 SkScalar fScale; member in GlyphTransformView
DSampleChineseFling.cpp123 ChineseZoomView() : fBlobs(kNumBlobs), fScale(15.0f), fTranslate(0.0f) {} in ChineseZoomView()
134 fScale += 0.125f; in onQuery()
138 fScale -= 0.125f; in onQuery()
183 canvas->scale(fScale, fScale); in onDrawContent()
243 SkScalar fScale; member in ChineseZoomView
DSampleAtlas.cpp79 SkScalar fScale; member
105 fScale += fDScale; in advance()
106 if (fScale > 2 || fScale < SK_Scalar1/2) { in advance()
124 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
159 fRec[i].fScale = 1; in DrawAtlasDrawable()
/external/skqp/samplecode/
DSampleAnimatedText.cpp43 AnimatedTextView() : fScale(1.0f), fScaleInc(0.1f), fRotation(0.0f), fSizeScale(1) { in AnimatedTextView()
113 canvas->scale(fScale, fScale); in onDrawContent()
136 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f)); in onAnimate()
137 if (fScale >= 2.0f) { in onAnimate()
139 } else if (fScale <= 1.0f) { in onAnimate()
146 float fScale; member in AnimatedTextView
DSampleGlyphTransform.cpp52 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()
68 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate()
81 SkScalar fScale; member in GlyphTransformView
DSampleChineseFling.cpp123 ChineseZoomView() : fBlobs(kNumBlobs), fScale(15.0f), fTranslate(0.0f) {} in ChineseZoomView()
134 fScale += 0.125f; in onQuery()
138 fScale -= 0.125f; in onQuery()
183 canvas->scale(fScale, fScale); in onDrawContent()
243 SkScalar fScale; member in ChineseZoomView
DSampleAtlas.cpp79 SkScalar fScale; member
105 fScale += fDScale; in advance()
106 if (fScale > 2 || fScale < SK_Scalar1/2) { in advance()
124 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
159 fRec[i].fScale = 1; in DrawAtlasDrawable()
/external/skqp/bench/
DSKPBench.cpp27 , fScale(scale) in SKPBench()
83 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
132 trans.setTranslate(-fTileRects[j].fLeft/fScale, in drawMPDPicture()
133 -fTileRects[j].fTop/fScale); in drawMPDPicture()
143 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture()
144 -fTileRects[j].fTop / fScale); in drawPicture()
/external/skia/bench/
DSKPBench.cpp27 , fScale(scale) in SKPBench()
83 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
132 trans.setTranslate(-fTileRects[j].fLeft/fScale, in drawMPDPicture()
133 -fTileRects[j].fTop/fScale); in drawMPDPicture()
143 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture()
144 -fTileRects[j].fTop / fScale); in drawPicture()
/external/skqp/src/effects/imagefilters/
DSkDisplacementMapEffect.cpp129 , fScale(scale) { in SkDisplacementMapEffect()
149 buffer.writeScalar(fScale); in flatten()
173 const SkVector& scale() const { return fScale; } in scale()
208 SkVector fScale; member in GrDisplacementMapEffect
268 SkVector scale = SkVector::Make(fScale, fScale); in onFilterImage()
368 return SkDisplacementMapEffect::Make(fXChannelSelector, fYChannelSelector, fScale, in onMakeColorSpace()
377 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf); in computeFastBounds()
383 SkVector scale = SkVector::Make(fScale, fScale); in onFilterNodeBounds()
450 , fScale(scale) { in GrDisplacementMapEffect()
465 , fScale(that.fScale) { in GrDisplacementMapEffect()
[all …]
/external/skia/src/effects/imagefilters/
DSkDisplacementMapEffect.cpp131 , fScale(scale) { in SkDisplacementMapEffect()
151 buffer.writeScalar(fScale); in flatten()
175 const SkVector& scale() const { return fScale; } in scale()
210 SkVector fScale; member in GrDisplacementMapEffect
270 SkVector scale = SkVector::Make(fScale, fScale); in onFilterImage()
370 return SkDisplacementMapEffect::Make(fXChannelSelector, fYChannelSelector, fScale, in onMakeColorSpace()
379 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf); in computeFastBounds()
385 SkVector scale = SkVector::Make(fScale, fScale); in onFilterNodeBounds()
452 , fScale(scale) { in GrDisplacementMapEffect()
467 , fScale(that.fScale) { in GrDisplacementMapEffect()
[all …]
/external/skia/modules/particles/include/
DSkParticleData.h36 SkScalar fScale; member
39 const float s = fHeading.fX * fScale; in asRSXform()
40 const float c = -fHeading.fY * fScale; in asRSXform()
132 float fScale = 1.0f; member
/external/skia/src/gpu/gradients/
DGrSweepGradientLayout.h23 float scale() const { return fScale; } in scale()
37 , fScale(scale) in GrSweepGradientLayout()
47 float fScale; variable
/external/skqp/src/gpu/gradients/
DGrSweepGradientLayout.h23 float scale() const { return fScale; } in scale()
37 , fScale(scale) in GrSweepGradientLayout()
47 float fScale; variable
/external/dng_sdk/source/
Ddng_gain_map.cpp35 dng_point_real64 fScale; member in dng_gain_map_interpolator
103 , fScale (1.0 / mapBounds.H (), in dng_gain_map_interpolator()
124 real64 rowIndexF = (fScale.v * (row + fOffset.v) - in dng_gain_map_interpolator()
190 real64 colIndexF = ((fScale.h * (fColumn + fOffset.h)) - in ResetColumn()
200 fResetColumn = (int32) ceil (fMap.Origin ().h / fScale.h - fOffset.h); in ResetColumn()
237 fValueStep = (real32) ((delta * fScale.h) / fMap.Spacing ().h); in ResetColumn()
240 fMap.Origin ().h) / fScale.h - fOffset.h); in ResetColumn()
/external/pdfium/core/fxcrt/
Dfx_coordinates.cpp172 void CFX_FloatRect::Scale(float fScale) { in Scale() argument
173 left *= fScale; in Scale()
174 bottom *= fScale; in Scale()
175 right *= fScale; in Scale()
176 top *= fScale; in Scale()
179 void CFX_FloatRect::ScaleFromCenterPoint(float fScale) { in ScaleFromCenterPoint() argument
186 left = center_x - fHalfWidth * fScale; in ScaleFromCenterPoint()
187 bottom = center_y - fHalfHeight * fScale; in ScaleFromCenterPoint()
188 right = center_x + fHalfWidth * fScale; in ScaleFromCenterPoint()
189 top = center_y + fHalfHeight * fScale; in ScaleFromCenterPoint()
/external/skqp/gm/
Dblurignorexform.cpp65 canvas->scale(scale.fScale, scale.fScale); in onDraw()
67 SkScalar coord = 50.0f * 1.0f / scale.fScale; in onDraw()
120 float fScale; member
/external/skia/gm/
Dblurignorexform.cpp65 canvas->scale(scale.fScale, scale.fScale); in onDraw()
67 SkScalar coord = 50.0f * 1.0f / scale.fScale; in onDraw()
120 float fScale; member
/external/skqp/src/core/
DSkTextToPathIter.h19 SkScalar getPathScale() const { return fScale; } in getPathScale()
27 SkScalar fScale; variable
61 fBounds[i] = bound / fScale; in setPosition()
/external/skia/src/core/
DSkTextToPathIter.h19 SkScalar getPathScale() const { return fScale; } in getPathScale()
27 SkScalar fScale; variable
61 fBounds[i] = bound / fScale; in setPosition()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp524 SkVector fScale; member in SkScalerContext_FreeType
930 fRec.computeMatrices(SkScalerContextRec::kFull_PreMatrixScale, &fScale, &fMatrix22Scalar); in SkScalerContext_FreeType()
931 FT_F26Dot6 scaleX = SkScalarToFDot6(fScale.fX); in SkScalerContext_FreeType()
932 FT_F26Dot6 scaleY = SkScalarToFDot6(fScale.fY); in SkScalerContext_FreeType()
938 fFaceRec->fFace->family_name, fScale.fX, fScale.fY); in SkScalerContext_FreeType()
945 if (fScale.fX < 1 || fScale.fY < 1) { in SkScalerContext_FreeType()
950 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType()
957 fFaceRec->fFace->family_name, fScale.fY); in SkScalerContext_FreeType()
971 fMatrix22Scalar.preScale(fScale.x() / fFaceRec->fFace->size->metrics.x_ppem, in SkScalerContext_FreeType()
972 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem); in SkScalerContext_FreeType()
[all …]
/external/skia/src/ports/
DSkFontHost_FreeType.cpp524 SkVector fScale; member in SkScalerContext_FreeType
930 fRec.computeMatrices(SkScalerContextRec::kFull_PreMatrixScale, &fScale, &fMatrix22Scalar); in SkScalerContext_FreeType()
931 FT_F26Dot6 scaleX = SkScalarToFDot6(fScale.fX); in SkScalerContext_FreeType()
932 FT_F26Dot6 scaleY = SkScalarToFDot6(fScale.fY); in SkScalerContext_FreeType()
938 fFaceRec->fFace->family_name, fScale.fX, fScale.fY); in SkScalerContext_FreeType()
945 if (fScale.fX < 1 || fScale.fY < 1) { in SkScalerContext_FreeType()
950 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType()
957 fFaceRec->fFace->family_name, fScale.fY); in SkScalerContext_FreeType()
971 fMatrix22Scalar.preScale(fScale.x() / fFaceRec->fFace->size->metrics.x_ppem, in SkScalerContext_FreeType()
972 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem); in SkScalerContext_FreeType()
[all …]

1234