Lines Matching defs:offset

113                    SkVector offset,
132 , fOffset(offset)
362 gRun->setTopInGroup(minTop - gRun->offset().y());
363 gRun->setBottomInGroup(maxBottom - gRun->offset().y());
596 record.fClipRect = extendHeight(context).makeOffset(this->offset());
598 record.fClipRect = context.clip.makeOffset(this->offset());
620 record.fOffset = SkPoint::Make(this->offset().fX + context.fTextShift,
622 this->offset().fY + correctedBaseline - (context.run ? context.run->fCompressionBaselineShift : 0));
624 this->offset().fY + correctedBaseline);
671 painter->drawRect(context.clip.makeOffset(this->offset() + SkPoint::Make(x, y)),
705 skRRect.offset(x + this->offset().x(), y + this->offset().y());
730 clip.offset(x, y);
731 clip.offset(this->offset());
740 x + this->offset().fX + shadow.fOffset.x() + context.fTextShift,
741 y + this->offset().fY + shadow.fOffset.y() + correctedBaseline,
758 painter->translate(x + this->offset().fX, y + this->offset().fY + style.getBaselineShift());
1354 result.clip.offset(textStartInLine, 0);
1589 runOffset += this->ellipsis()->offset().fX;
1737 SkVector TextLine::offset() const {
1760 result.fLeft = this->offset().fX;
1762 result.fBaseline = this->offset().fY + this->height() - this->sizes().descent();
1765 result.fTopHeight = this->offset().fY;
1849 clip.offset(lineContext.fTextShift - context.fTextShift, 0);
1871 clip.offset(0, verticalShift / 2.0);
1884 clip.offset(0, verticalShift);
1955 clip.offset(this->offset());
1957 trailingSpaces.offset(this->offset());
2000 auto lineStart = this->offset().fX;
2001 auto lineEnd = this->offset().fX + this->width();
2055 SkScalar offsetX = this->offset().fX;
2064 // However, we need to offset the clip
2065 context.clip.offset(offsetX, 0.0f);
2207 clip.offset(this->offset());
2234 // Gets the offset position of the current line across the paragraph
2465 double offset = point.x();
2466 if (offset >= widthWithEllipsisSpaces()) {
2468 } else if (offset > 0) {
2472 if (offset <= curOffset + characterWidth / 2) {
2485 double offset = 0.0;
2487 return offset;
2491 offset = widthWithEllipsisSpaces();
2495 offset += fOwner->cluster(clusterIndex).width();
2502 return offset;
2508 double offset = 0.0;
2511 offset += cluster.width();
2514 offsetMap[clusterIndex] = offset;
2527 double offset = 0.0;
2532 offset = lineWidth - alignmentWidth;
2537 offset = (alignmentWidth - lineWidth) * alignmentFactor;
2539 offset = (lineWidth - alignmentWidth) * (1 - alignmentFactor);
2544 offset = alignmentWidth - lineWidth;
2548 return offset;