Lines Matching refs:pos
238 SwPoint pos; member
447 static void _setCell(RleWorker& rw, SwPoint pos) in _setCell() argument
461 pos.x -= rw.cellMin.x; in _setCell()
462 pos.y -= rw.cellMin.y; in _setCell()
464 if (pos.x > rw.cellMax.x) pos.x = rw.cellMax.x; in _setCell()
467 if (pos != rw.cellPos) { in _setCell()
474 rw.cellPos = pos; in _setCell()
475 rw.invalid = ((unsigned)pos.y >= (unsigned)rw.cellYCnt || pos.x >= rw.cellXCnt); in _setCell()
479 static void _startCell(RleWorker& rw, SwPoint pos) in _startCell() argument
481 if (pos.x > rw.cellMax.x) pos.x = rw.cellMax.x; in _startCell()
482 if (pos.x < rw.cellMin.x) pos.x = rw.cellMin.x; in _startCell()
486 rw.cellPos = pos - rw.cellMin; in _startCell()
489 _setCell(rw, pos); in _startCell()
501 rw.pos = to; in _moveTo()
511 auto e1 = TRUNC(rw.pos); in _lineTo()
516 rw.pos = to; in _lineTo()
522 line[1] = rw.pos; in _lineTo()
626 rw.pos = line[0]; in _lineTo()
639 arc[3] = rw.pos; in _cubicTo()