Home
last modified time | relevance | path

Searched refs:SK_ScalarSqrt2 (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/docs/examples/
DPoint_set.cpp7 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; in draw()
8 pt1.set(SK_ScalarPI, SK_ScalarSqrt2); in draw()
/external/skia/src/core/
DSkDistanceFieldGen.cpp173 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
174 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
177 + SK_ScalarSqrt2*nextData->fAlpha in init_distances()
178 - SK_ScalarSqrt2*prevData->fAlpha in init_distances()
DSkStrokerPriv.h19 #define CUBIC_ARC_FACTOR ((SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3)
DSkStrokeRec.cpp166 multiplier = std::max(multiplier, SK_ScalarSqrt2); in GetInflationRadius()
/external/skqp/src/core/
DSkDistanceFieldGen.cpp172 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
173 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
176 + SK_ScalarSqrt2*nextData->fAlpha in init_distances()
177 - SK_ScalarSqrt2*prevData->fAlpha in init_distances()
DSkStrokerPriv.h19 #define CUBIC_ARC_FACTOR ((SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3)
DSkStrokeRec.cpp166 multiplier = SkTMax(multiplier, SK_ScalarSqrt2); in GetInflationRadius()
/external/skqp/bench/
DGameBench.cpp122 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw()
123 maxTransY = size.fHeight - SK_ScalarSqrt2 * height; in onDraw()
/external/skia/bench/
DGameBench.cpp124 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw()
125 maxTransY = size.fHeight - SK_ScalarSqrt2 * height; in onDraw()
/external/skia/include/core/
DSkScalar.h20 #define SK_ScalarSqrt2 SK_FloatSqrt2 macro
/external/skqp/include/core/
DSkScalar.h20 #define SK_ScalarSqrt2 1.41421356f macro
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.cpp357 devBounds45->outset(r*SK_ScalarSqrt2, r*SK_ScalarSqrt2); in renderShapeInAtlas()
/external/skqp/tests/
DTypefaceTest.cpp151 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in DEF_TEST()
/external/skia/modules/svg/src/
DSkSVGRenderContext.cpp32 constexpr SkScalar rsqrt2 = 1.0f / SK_ScalarSqrt2; in length_size_for_type()
/external/skia/gm/
Dcomplexclip.cpp487 SkScalar d = 64.f * SK_ScalarSqrt2;
/external/skia/tests/
DTypefaceTest.cpp290 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in DEF_TEST()
DRoundRectTest.cpp1043 SK_ScalarSqrt2 * radius * (width-2.f*radius) + // two horiz. rects between corners in test_inner_bounds()
1044 SK_ScalarSqrt2 * radius * (height-2.f*radius); // two vert. rects between corners in test_inner_bounds()
DSerializationTest.cpp405 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in makeDistortableWithNonDefaultAxes()
/external/skqp/docs/
DSkPoint_Reference.bmh123 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 };
124 pt1.set(SK_ScalarPI, SK_ScalarSqrt2);
/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp454 SkScalar diagVal = umbraInset / (SK_ScalarSqrt2*(outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
DGrStrokeRectOp.cpp41 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp441 SkScalar diagVal = umbraInset / (SK_ScalarSqrt2*(outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
DGrStrokeRectOp.cpp44 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
/external/skia/src/gpu/geometry/
DGrStyledShape.cpp639 fStyle.strokeRec().getMiter() < SK_ScalarSqrt2)) { in simplifyStroke()
/external/skqp/src/gpu/
DGrShape.cpp636 fStyle.strokeRec().getMiter() >= SK_ScalarSqrt2 && in attemptToSimplifyRRect()

12