Home
last modified time | relevance | path

Searched refs:unitNormal (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkStroke.cpp62 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
63 if (!unitNormal->setNormalize((after.fX - before.fX) * scale, in set_normal_unitnormal()
67 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
68 unitNormal->scale(radius, normal); in set_normal_unitnormal()
74 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
75 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { in set_normal_unitnormal()
78 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
79 unitNormal->scale(radius, normal); in set_normal_unitnormal()
244 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
247 const SkVector& unitNormal);
[all …]
/external/skia/src/core/
DSkStroke.cpp95 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
96 if (!unitNormal->setNormalize((after.fX - before.fX) * scale, in set_normal_unitnormal()
100 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
101 unitNormal->scale(radius, normal); in set_normal_unitnormal()
107 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
108 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { in set_normal_unitnormal()
111 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
112 unitNormal->scale(radius, normal); in set_normal_unitnormal()
277 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
280 const SkVector& unitNormal);
[all …]
/external/skia/samplecode/
DSampleSimpleStroker.cpp120 static SkPoint unitNormal(const PathSegment& seg, float t);
221 SkPoint before = unitNormal(prev, 1); in join()
222 SkPoint after = unitNormal(curr, 0); in join()
329 SkPoint SkPathStroker2::unitNormal(const PathSegment& seg, float t) { in unitNormal() function in __anon22ae24220111::SkPathStroker2
DSampleVariableWidthStroker.cpp483 static SkPoint unitNormal(const PathSegment& seg, float t, SkPoint* tangentOut);
787 SkPoint before = unitNormal(prevSegs.back(), 1, nullptr); in join()
788 SkPoint after = unitNormal(currSegs.front(), 0, nullptr); in join()
930 SkPoint offsetStart = unitNormal(seg, 0, &tangentStart); in approximateSegment()
931 SkPoint offsetEnd = unitNormal(seg, 1, &tangentEnd); in approximateSegment()
970 SkPoint SkVarWidthStroker::unitNormal(const PathSegment& seg, float t, SkPoint* tangentOut) { in unitNormal() function in __anondd06c43e0111::SkVarWidthStroker