Lines Matching refs:SkIRect
156 CommonCheck(const SkIRect& area) in CommonCheck()
222 const SkIRect& getArea() const { in getArea()
357 SkIRect mArea;
379 LineCheck(int x, int y, const SkIRect& area) in LineCheck()
402 const SkIRect& rect = mParagraphs[index]; in finish()
436 bool inColumn(const SkIRect& test) const in inColumn()
439 const SkIRect& rect = mSelected[index]; in inColumn()
449 const SkIRect& rect = mSelected[index]; in inColumn()
456 virtual bool onIRect(const SkIRect& rect) in onIRect()
458 SkIRect bounds; in onIRect()
479 SkIRect& rect = mParagraphs[index]; in processLine()
480 if (SkIRect::Intersects(rect, mLast)) { in processLine()
491 SkIRect mLast;
492 SkTDArray<SkIRect> mParagraphs;
493 SkTDArray<SkIRect> mSelected;
501 FirstCheck(int x, int y, const SkIRect& area) in FirstCheck()
512 const SkIRect& adjustedBounds(int* base) in adjustedBounds()
525 virtual bool onIRectGlyph(const SkIRect& rect, in onIRectGlyph()
532 SkIRect testBounds = {rect.fLeft, top(), rect.fRight, bottom()}; in onIRectGlyph()
647 SkIRect mBestBounds;
662 EdgeCheck(int x, int y, const SkIRect& area, CommonCheck& last, bool left) in EdgeCheck()
676 const SkIRect& bestBounds(int* base) in bestBounds()
682 virtual bool onIRectGlyph(const SkIRect& rect, in onIRectGlyph()
716 void shiftStart(SkIRect bounds) in shiftStart()
734 FindFirst(const SkIRect& area) in FindFirst()
740 const SkIRect& bestBounds(int* base) in bestBounds()
746 virtual bool onIRect(const SkIRect& rect) in onIRect()
757 SkIRect mBestBounds;
764 FindLast(const SkIRect& area) in FindLast()
770 virtual bool onIRect(const SkIRect& rect) in onIRect()
781 static bool baseLinesAgree(const SkIRect& rectA, int baseA, in baseLinesAgree()
782 const SkIRect& rectB, int baseB) in baseLinesAgree()
796 BuilderCheck(const SkIRect& start, int startBase, const SkIRect& end, in BuilderCheck()
797 int endBase, const SkIRect& area) in BuilderCheck()
820 int checkFlipRect(const SkIRect& full, int fullBase) { in checkFlipRect()
893 mLastIntersects = SkIRect::Intersects(mLast, mSelectRect); in checkFlipRect()
914 bool resetLast(const SkIRect& full, int fullBase) in resetLast()
919 mLastIntersects = SkIRect::Intersects(mLast, mSelectRect); in resetLast()
941 SkIRect mEnd;
943 SkIRect mEndExtra;
945 SkIRect mLast;
948 SkIRect mSelectRect;
949 SkIRect mStart;
950 SkIRect mStartExtra;
959 MultilineBuilder(const SkIRect& start, int startBase, const SkIRect& end, in MultilineBuilder()
960 int endBase, const SkIRect& area, SkRegion* region) in MultilineBuilder()
990 virtual bool onIRect(const SkIRect& rect) { in onIRect()
991 SkIRect full; in onIRect()
1035 static inline bool compareBounds(const SkIRect* first, const SkIRect* second) in compareBounds()
1042 TextExtractor(const SkIRect& start, int startBase, const SkIRect& end, in TextExtractor()
1043 int endBase, const SkIRect& area, bool flipped) in TextExtractor()
1099 Vector<SkIRect*> sortedBounds; in finish()
1127 virtual bool onIRectGlyph(const SkIRect& rect, in onIRectGlyph()
1130 SkIRect full; in onIRectGlyph()
1179 SkIRect mEmpty;
1180 SkTDArray<SkIRect> mSelectBounds;
1197 const SkIRect& area = bounder->getArea(); in TextCanvas()
1203 const SkIRect& clip = getTotalClip().getBounds(); in TextCanvas()
1224 virtual void commonDrawBitmap(const SkBitmap& bitmap, const SkIRect* rect, in commonDrawBitmap()
1257 static bool buildSelection(const SkPicture& picture, const SkIRect& area, in buildSelection()
1258 const SkIRect& selStart, int startBase, in buildSelection()
1259 const SkIRect& selEnd, int endBase, SkRegion* region) in buildSelection()
1279 static SkIRect findFirst(const SkPicture& picture, int* base) in findFirst()
1281 SkIRect area; in findFirst()
1289 static SkIRect findLast(const SkPicture& picture, int* base) in findLast()
1291 SkIRect area; in findLast()
1299 static WTF::String text(const SkPicture& picture, const SkIRect& area, in text()
1300 const SkIRect& start, int startBase, const SkIRect& end, in text()
1427 SkIRect iTrans; in addInval()
1463 static void addStart(SkRegion* diff, const SkIRect& rect) in addStart()
1465 SkIRect bounds; in addStart()
1472 static void addEnd(SkRegion* diff, const SkIRect& rect) in addEnd()
1474 SkIRect bounds; in addEnd()
1483 SkIRect ivisBounds = vis; in getSelectionRegion()
1495 SkIRect ivisBounds = m_visibleRect; in drawSelectionRegion()
1543 SkIRect a = diff.getBounds(); in drawSelectionRegion()
1544 SkIRect b = m_selRegion.getBounds(); in drawSelectionRegion()
1546 SkIRect c = diff.getBounds(); in drawSelectionRegion()
1567 SkIRect iBounds = diff.getBounds(); in drawSelectionRegion()
1580 SkIRect clipRect = m_visibleRect; in extendSelection()
1619 SkIRect found = findClosest(extension, *m_picture, &base); in extendSelection()
1621 SkIRect wordBounds = m_wordBounds; in extendSelection()
1658 SkIRect SelectText::findClosest(FirstCheck& check, const SkPicture& picture, in findClosest()
1672 SkIRect SelectText::findEdge(const SkPicture& picture, const SkIRect& area, in findEdge()
1675 SkIRect result; in findEdge()
1680 SkIRect closest = findClosest(center, picture, &closestBase); in findEdge()
1681 SkIRect sloppy = closest; in findEdge()
1707 const SkIRect& next = edge.bestBounds(&nextBase); in findEdge()
1727 SkIRect SelectText::findLeft(const SkPicture& picture, const SkIRect& area, in findLeft()
1733 SkIRect SelectText::findRight(const SkPicture& picture, const SkIRect& area, in findRight()
1743 SkIRect clipRect; in getSelection()
1781 SkIRect test; in hitCorner()
1816 SkIRect clipRect = m_visibleRect; in moveSelection()
1821 SkIRect found = findClosest(center, *m_picture, &base); in moveSelection()
1867 const SkIRect& closest = findClosest(center, *picture, &base); in selectableText()
1888 const SkIRect& rect = m_hitTopLeft ? m_selStart : m_selEnd; in selectionY()
1967 SkIRect ivisBounds = m_visibleRect; in wordSelection()
1980 SkIRect clipRect = m_visibleRect; in wordSelection()
1984 SkIRect left = findLeft(*m_picture, clipRect, x, y, &base); in wordSelection()
1993 SkIRect right = findRight(*m_picture, clipRect, x, y, &base); in wordSelection()