Lines Matching refs:points
34 CFX_FloatArray* points, in CheckAndNudgePoints() argument
40 for (offset = 0; offset < points->GetSize() && nudged; offset += 2) { in CheckAndNudgePoints()
41 int32_t x = (int32_t)(*points)[offset]; in CheckAndNudgePoints()
42 int32_t y = (int32_t)(*points)[offset + 1]; in CheckAndNudgePoints()
49 (*points)[offset] = 0.0f; in CheckAndNudgePoints()
52 (*points)[offset] = (FX_FLOAT)(width - 1); in CheckAndNudgePoints()
56 (*points)[offset + 1] = 0.0f; in CheckAndNudgePoints()
59 (*points)[offset + 1] = (FX_FLOAT)(height - 1); in CheckAndNudgePoints()
64 for (offset = (*points).GetSize() - 2; offset >= 0 && nudged; offset -= 2) { in CheckAndNudgePoints()
65 int32_t x = (int32_t)(*points)[offset]; in CheckAndNudgePoints()
66 int32_t y = (int32_t)(*points)[offset + 1]; in CheckAndNudgePoints()
73 (*points)[offset] = 0.0f; in CheckAndNudgePoints()
76 (*points)[offset] = (FX_FLOAT)(width - 1); in CheckAndNudgePoints()
80 (*points)[offset + 1] = 0.0f; in CheckAndNudgePoints()
83 (*points)[offset + 1] = (FX_FLOAT)(height - 1); in CheckAndNudgePoints()
115 CFX_FloatArray points; in SampleGrid() local
116 points.SetSize(dimensionX << 1); in SampleGrid()
118 int32_t max = points.GetSize(); in SampleGrid()
122 points[x] = (FX_FLOAT)((x >> 1) + 0.5f); in SampleGrid()
123 points[x + 1] = iValue; in SampleGrid()
125 transform->TransformPoints(&points); in SampleGrid()
126 CheckAndNudgePoints(image, &points, e); in SampleGrid()
129 if (image->Get((int32_t)points[x], (int32_t)points[x + 1])) { in SampleGrid()