Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStroke.cpp55 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
56 if (!unitNormal->setNormalize(after.fX - before.fX, after.fY - before.fY)) { in set_normal_unitnormal()
59 unitNormal->rotateCCW(); in set_normal_unitnormal()
60 unitNormal->scale(radius, normal); in set_normal_unitnormal()
66 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
67 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { in set_normal_unitnormal()
70 unitNormal->rotateCCW(); in set_normal_unitnormal()
71 unitNormal->scale(radius, normal); in set_normal_unitnormal()
111 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
114 const SkVector& unitNormal);
[all …]