• Home
  • Raw
  • Download

Lines Matching refs:SkPoint

27 static void create_ngon(int n, SkPoint* pts, SkScalar w, SkScalar h, SkPathDirection dir) {  in create_ngon()
46 const SkPoint gPoints0[] = {
53 const SkPoint gPoints1[] = {
60 const SkPoint gPoints2[] = {
67 const SkPoint gPoints3[] = {
74 const SkPoint gPoints4[] = {
84 const SkPoint gPoints5[] = {
91 const SkPoint gPoints6[] = {
98 const SkPoint gPoints7[] = {
108 const SkPoint gPoints8[] = {
124 const SkPoint gPoints9[] = {
143 const SkPoint gPoints10[] = {
153 const SkPoint gPoints11[] = {
178 const SkPoint gPoints12[] = {
195 const SkPoint gPoints13[] = {
220 const SkPoint gPoints14[] = {
235 const SkPoint gPoints15[] = {
286 const SkPoint gPoints16[] = {
312 const SkPoint gPoints17[] = {
324 const SkPoint gPoints18[] = {
372 const SkPoint* gConvexPoints[] = {
392 const SkPoint* gSimplePoints[] = {
443 std::unique_ptr<SkPoint[]>* data, int* numPts) { in GetConvexPolygon()
447 *data = std::make_unique<SkPoint[]>(*numPts); in GetConvexPolygon()
471 *data = std::make_unique<SkPoint[]>(*numPts); in GetConvexPolygon()
478 std::unique_ptr<SkPoint[]>* data, int* numPts) { in GetSimplePolygon()
482 *data = std::make_unique<SkPoint[]>(*numPts); in GetSimplePolygon()
505 *data = std::make_unique<SkPoint[]>(*numPts); in GetSimplePolygon()
511 void drawPolygon(SkCanvas* canvas, int index, SkPoint* position) { in drawPolygon()
513 SkPoint center; in drawPolygon()
515 std::unique_ptr<SkPoint[]> data(nullptr); in drawPolygon()
547 std::unique_ptr<SkPoint[]> data(nullptr); in drawPolygon()
568 SkTDArray<SkPoint> offsetPoly; in drawPolygon()
572 std::function<SkScalar(const SkPoint&)> offsetFunc; in drawPolygon()
601 SkPoint offset = { 0, SkScalarHalf(kMaxPathHeight) }; in onDraw()