• Home
  • Raw
  • Download

Lines Matching refs:SkPoint

26 static void create_ngon(int n, SkPoint* pts, SkScalar w, SkScalar h, SkPathDirection dir) {  in create_ngon()
45 const SkPoint gPoints0[] = {
52 const SkPoint gPoints1[] = {
59 const SkPoint gPoints2[] = {
66 const SkPoint gPoints3[] = {
73 const SkPoint gPoints4[] = {
83 const SkPoint gPoints5[] = {
90 const SkPoint gPoints6[] = {
97 const SkPoint gPoints7[] = {
107 const SkPoint gPoints8[] = {
123 const SkPoint gPoints9[] = {
142 const SkPoint gPoints10[] = {
152 const SkPoint gPoints11[] = {
177 const SkPoint gPoints12[] = {
194 const SkPoint gPoints13[] = {
219 const SkPoint gPoints14[] = {
234 const SkPoint gPoints15[] = {
285 const SkPoint gPoints16[] = {
311 const SkPoint gPoints17[] = {
323 const SkPoint gPoints18[] = {
371 const SkPoint* gConvexPoints[] = {
391 const SkPoint* gSimplePoints[] = {
442 std::unique_ptr<SkPoint[]>* data, int* numPts) { in GetConvexPolygon()
446 *data = std::make_unique<SkPoint[]>(*numPts); in GetConvexPolygon()
470 *data = std::make_unique<SkPoint[]>(*numPts); in GetConvexPolygon()
477 std::unique_ptr<SkPoint[]>* data, int* numPts) { in GetSimplePolygon()
481 *data = std::make_unique<SkPoint[]>(*numPts); in GetSimplePolygon()
504 *data = std::make_unique<SkPoint[]>(*numPts); in GetSimplePolygon()
510 void drawPolygon(SkCanvas* canvas, int index, SkPoint* position) { in drawPolygon()
512 SkPoint center; in drawPolygon()
514 std::unique_ptr<SkPoint[]> data(nullptr); in drawPolygon()
546 std::unique_ptr<SkPoint[]> data(nullptr); in drawPolygon()
567 SkTDArray<SkPoint> offsetPoly; in drawPolygon()
571 std::function<SkScalar(const SkPoint&)> offsetFunc; in drawPolygon()
600 SkPoint offset = { 0, SkScalarHalf(kMaxPathHeight) }; in onDraw()