Searched refs:SK_ScalarSqrt2 (Results 1 – 25 of 33) sorted by relevance
12
/external/skia/docs/examples/ |
D | Point_set.cpp | 7 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; in draw() 8 pt1.set(SK_ScalarPI, SK_ScalarSqrt2); in draw()
|
/external/skia/src/core/ |
D | SkDistanceFieldGen.cpp | 173 + 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()
|
D | SkStrokerPriv.h | 19 #define CUBIC_ARC_FACTOR ((SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3)
|
D | SkStrokeRec.cpp | 166 multiplier = std::max(multiplier, SK_ScalarSqrt2); in GetInflationRadius()
|
/external/skqp/src/core/ |
D | SkDistanceFieldGen.cpp | 172 + 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()
|
D | SkStrokerPriv.h | 19 #define CUBIC_ARC_FACTOR ((SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3)
|
D | SkStrokeRec.cpp | 166 multiplier = SkTMax(multiplier, SK_ScalarSqrt2); in GetInflationRadius()
|
/external/skqp/bench/ |
D | GameBench.cpp | 122 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw() 123 maxTransY = size.fHeight - SK_ScalarSqrt2 * height; in onDraw()
|
/external/skia/bench/ |
D | GameBench.cpp | 124 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw() 125 maxTransY = size.fHeight - SK_ScalarSqrt2 * height; in onDraw()
|
/external/skia/include/core/ |
D | SkScalar.h | 20 #define SK_ScalarSqrt2 SK_FloatSqrt2 macro
|
/external/skqp/include/core/ |
D | SkScalar.h | 20 #define SK_ScalarSqrt2 1.41421356f macro
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 357 devBounds45->outset(r*SK_ScalarSqrt2, r*SK_ScalarSqrt2); in renderShapeInAtlas()
|
/external/skqp/tests/ |
D | TypefaceTest.cpp | 151 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in DEF_TEST()
|
/external/skia/modules/svg/src/ |
D | SkSVGRenderContext.cpp | 32 constexpr SkScalar rsqrt2 = 1.0f / SK_ScalarSqrt2; in length_size_for_type()
|
/external/skia/gm/ |
D | complexclip.cpp | 487 SkScalar d = 64.f * SK_ScalarSqrt2;
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 290 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in DEF_TEST()
|
D | RoundRectTest.cpp | 1043 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()
|
D | SerializationTest.cpp | 405 { SkSetFourByteTag('w','g','h','t'), SK_ScalarSqrt2 }, in makeDistortableWithNonDefaultAxes()
|
/external/skqp/docs/ |
D | SkPoint_Reference.bmh | 123 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; 124 pt1.set(SK_ScalarPI, SK_ScalarSqrt2);
|
/external/skqp/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 454 SkScalar diagVal = umbraInset / (SK_ScalarSqrt2*(outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
|
D | GrStrokeRectOp.cpp | 41 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
|
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 441 SkScalar diagVal = umbraInset / (SK_ScalarSqrt2*(outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
|
D | GrStrokeRectOp.cpp | 44 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
|
/external/skia/src/gpu/geometry/ |
D | GrStyledShape.cpp | 639 fStyle.strokeRec().getMiter() < SK_ScalarSqrt2)) { in simplifyStroke()
|
/external/skqp/src/gpu/ |
D | GrShape.cpp | 636 fStyle.strokeRec().getMiter() >= SK_ScalarSqrt2 && in attemptToSimplifyRRect()
|
12