Home | History | Annotate | Download | only in core

Lines Matching refs:pos

1901     typedef void (*Proc)(const TextMapState&, const SkScalar pos[]);
1912 static void MapXProc(const TextMapState& state, const SkScalar pos[]) {
1913 state.fProc(state.fMatrix, *pos, state.fY, &state.fLoc);
1916 static void MapXYProc(const TextMapState& state, const SkScalar pos[]) {
1917 state.fProc(state.fMatrix, pos[0], pos[1], &state.fLoc);
1921 const SkScalar pos[]) {
1922 state.fLoc.set(SkScalarMul(state.fScaleX, *pos) + state.fTransX,
1927 const SkScalar pos[]) {
1928 state.fLoc.set(*pos + state.fTransX, state.fTransformedY);
1955 const SkScalar pos[], SkScalar constY,
1979 tmsProc(tms, pos);
1992 pos += scalarsPerPosition;
1997 const SkScalar pos[], SkScalar constY,
2010 this->drawPosText_asPaths(text, byteLength, pos, constY,
2080 tms.fLoc.fX = *pos;
2081 tms.fLoc.fY = *(pos+1);
2083 tmsProc(tms, pos);
2086 tmsProc(tms, pos);
2097 pos += scalarsPerPosition;
2108 tmsProc(tms, pos);
2125 pos += scalarsPerPosition;
2135 tmsProc(tms, pos);
2142 pos += scalarsPerPosition;
2150 tmsProc(tms, pos);
2160 pos += scalarsPerPosition;
2179 SkPoint pos;
2182 proc(matrix, src[i].fX, src[i].fY, &pos);
2183 SkScalar sx = pos.fX;
2184 SkScalar sy = pos.fY;
2186 if (!meas.getPosTan(sx, &pos, &tangent)) {
2187 // set to 0 if the measure failed, so that we just set dst == pos
2198 matrix.postTranslate(pos.fX, pos.fY);
2201 dst[i].set(pos.fX - SkScalarMul(tangent.fY, sy),
2202 pos.fY + SkScalarMul(tangent.fX, sy));