Home
last modified time | relevance | path

Searched refs:SkRect (Results 1 – 25 of 127) sorted by relevance

123456

/external/skia/include/views/
DSkStackViewLayout.h35 void getMargin(SkRect*) const;
36 void setMargin(const SkRect&);
74 SkRect fMargin;
82 void getMargin(SkRect*) const;
83 void setMargin(const SkRect&);
91 SkRect fMargin;
/external/skia/include/core/
DSkScan.h38 static void FillRect(const SkRect& rect, const SkRegion* clip, in FillRect()
43 static void FillRect(const SkRect&, const SkRegion* clip, SkBlitter*);
60 static void HairRect(const SkRect&, const SkRegion* clip, SkBlitter*);
63 static void FrameRect(const SkRect&, SkScalar width, const SkRegion* clip, SkBlitter*);
67 static void AntiFillRect(const SkRect& rect, const SkRegion* clip, in AntiFillRect()
72 static void AntiFillRect(const SkRect&, const SkRegion* clip, SkBlitter*);
78 static void AntiHairRect(const SkRect&, const SkRegion* clip, SkBlitter*);
97 static inline void XRect_set(SkXRect* xr, const SkRect& src) { in XRect_set()
DSkCanvas.h140 virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
156 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha,
224 virtual bool clipRect(const SkRect& rect,
282 bool quickReject(const SkRect& rect, EdgeType et) const;
314 bool getClipBounds(SkRect* bounds, EdgeType et = kAA_EdgeType) const;
403 virtual void drawRect(const SkRect& rect, const SkPaint& paint);
412 SkRect r; in drawIRect()
433 void drawOval(const SkRect& oval, const SkPaint&);
457 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
467 void drawRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry,
[all …]
DSkPath.h112 bool isRect(SkRect* rect) const;
143 void computeBounds(SkRect* bounds, BoundsType btype) const;
313 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
345 void addRect(const SkRect& rect, Direction dir = kCW_Direction);
367 void addOval(const SkRect& oval, Direction dir = kCW_Direction);
388 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
396 void addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry,
406 void addRoundRect(const SkRect& rect, const SkScalar radii[],
567 mutable SkRect fFastBounds;
DSkStroke.h23 struct SkRect;
55 void strokeRect(const SkRect& rect, SkPath*) const;
56 void strokeOval(const SkRect& oval, SkPath*) const;
57 void strokeRRect(const SkRect& rect, SkScalar rx, SkScalar ry, SkPath*) const;
DSkRect.h239 struct SkRect { struct
250 friend int operator==(const SkRect& a, const SkRect& b) argument
254 friend int operator!=(const SkRect& a, const SkRect& b)
326 bool intersect(const SkRect& r); argument
350 static bool Intersects(const SkRect& a, const SkRect& b) in Intersects() argument
367 void join(const SkRect& r) in join() argument
401 bool contains(const SkRect& r) const in contains() argument
DSkPaint.h30 struct SkRect;
397 const SkRect& computeFastBounds(const SkRect& orig, SkRect* storage) const;
664 SkRect* bounds, SkScalar scale = 0) const;
717 SkRect bounds[] = NULL) const;
755 int* count, SkRect* bounds) const;
DSkReader32.h76 const SkRect* skipRect() { in skipRect()
77 return (const SkRect*)this->skip(sizeof(SkRect)); in skipRect()
/external/skia/src/core/
DSkRect.cpp47 void SkRect::sort() in sort()
55 void SkRect::toQuad(SkPoint quad[4]) const in toQuad()
65 void SkRect::set(const SkPoint pts[], int count) in set()
70 bzero(this, sizeof(SkRect)); in set()
107 bool SkRect::intersect(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) in intersect()
121 bool SkRect::intersect(const SkRect& r) in intersect()
127 void SkRect::join(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) in join()
DSkCanvas.cpp614 int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint, in saveLayer()
626 SkRect r; in saveLayer()
661 int SkCanvas::saveLayerAlpha(const SkRect* bounds, U8CPU alpha, in saveLayerAlpha()
811 bool SkCanvas::clipRect(const SkRect& rect, SkRegion::Op op) { in clipRect()
820 SkRect r; in clipRect()
870 SkRect r; in computeLocalClipBoundsCompareType()
882 bool SkCanvas::quickReject(const SkRect& rect, EdgeType) const { in quickReject()
918 SkRect r; in quickReject()
924 SkRect r; in quickReject()
959 bool SkCanvas::getClipBounds(SkRect* bounds, EdgeType et) const { in getClipBounds()
[all …]
DSkPictureRecord.h19 virtual int saveLayer(const SkRect* bounds, const SkPaint*, SaveFlags);
27 virtual bool clipRect(const SkRect& rect, SkRegion::Op op);
33 virtual void drawRect(const SkRect& rect, const SkPaint&);
38 const SkRect& dst, const SkPaint*);
108 void addRect(const SkRect& rect);
109 void addRectPtr(const SkRect* rect);
/external/webkit/WebCore/platform/graphics/skia/
DSkiaUtils.cpp102 void IntersectRectAndRegion(const SkRegion& region, const SkRect& srcRect, SkRect* destRect) { in IntersectRectAndRegion()
126 void ClipRectToCanvas(const SkCanvas& canvas, const SkRect& srcRect, SkRect* destRect) { in ClipRectToCanvas()
129 SkRect transformedSrc; in ClipRectToCanvas()
133 SkRect transformedDest; in ClipRectToCanvas()
153 SkRect bounds; in SkPathContainsPoint()
DFloatRectSkia.cpp38 FloatRect::FloatRect(const SkRect& r) in FloatRect()
44 FloatRect::operator SkRect() const in operator SkRect()
46 SkRect rect = { x(), y(), right(), bottom() }; in operator SkRect()
DGraphicsContextSkia.cpp110 static bool isRectSkiaSafe(const SkMatrix& transform, const SkRect& rc) in isRectSkiaSafe()
168 void addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle) in addCornerArc()
192 SkRect r; in addCornerArc()
292 SkRect r(rect); in addInnerRoundedRectClip()
332 SkRect r = rect; in clearRect()
347 SkRect r(rect); in clip()
371 SkRect r(rect); in clipOut()
395 SkRect oval(rect); in clipOutEllipseInRect()
474 SkRect rect = elipseRect; in drawEllipse()
633 SkRect rect; in drawLineForMisspellingOrBadGrammar()
[all …]
DPlatformContextSkia.h92 float setupPaintForStroking(SkPaint*, SkRect*, int length) const;
126 void drawRect(SkRect rect);
129 void paintSkPaint(const SkRect&, const SkPaint&);
/external/webkit/WebCore/platform/graphics/android/
Dandroid_graphics.h51 SkRect* android_setrect(SkRect* dst, const WebCore::IntRect& src);
52 SkRect* android_setrect(SkRect* dst, const WebCore::FloatRect& src);
DGraphicsContextAndroid.cpp249 bool setup_paint_stroke(SkPaint* paint, SkRect* rect) { in setup_paint_stroke()
403 SkRect r; in drawRect()
442 SkRect bounds; in drawLine()
498 static void setrect_for_underline(SkRect* r, GraphicsContext* context, const IntPoint& point, int y… in setrect_for_underline()
517 SkRect r; in drawLineForText()
532 SkRect r; in drawLineForMisspellingOrBadGrammar()
549 SkRect oval; in drawEllipse()
582 SkRect oval; in strokeArc()
647 SkRect r; in fillRoundedRect()
666 SkRect r; in fillRect()
[all …]
/external/webkit/WebKit/android/nav/
DFindCanvas.h37 class SkRect; variable
154 SkRect addMatchNormal(int index,
158 SkRect addMatchPos(int index,
162 SkRect addMatchPosH(int index,
169 SkRect (FindCanvas::*addMatch)(int index,
DFindCanvas.cpp133 SkRect FindCanvas::addMatchNormal(int index, in addMatchNormal()
139 SkRect rect; in addMatchNormal()
159 SkRect FindCanvas::addMatchPos(int index, in addMatchPos()
162 SkRect r; in addMatchPos()
172 SkRect bounds; in addMatchPos()
192 SkRect FindCanvas::addMatchPosH(int index, in addMatchPosH()
195 SkRect r; in addMatchPosH()
263 SkRect (FindCanvas::*addMatch)(int index, in findHelper()
334 SkRect rect = (this->*addMatch)(matchIndex, paint, in findHelper()
414 SkRect partial = (this->*addMatch)(partialIndex, paint, relativeCount, in findHelper()
/external/skia/include/utils/
DSkTextBox.h56 void getBox(SkRect*) const;
57 void setBox(const SkRect&);
66 SkRect fBox;
DSkProxyCanvas.h30 virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
41 virtual bool clipRect(const SkRect& rect,
51 virtual void drawRect(const SkRect& rect, const SkPaint& paint);
56 const SkRect& dst, const SkPaint* paint = NULL);
DSkDumpCanvas.h54 virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
65 virtual bool clipRect(const SkRect& rect,
75 virtual void drawRect(const SkRect& rect, const SkPaint& paint);
80 const SkRect& dst, const SkPaint* paint = NULL);
/external/webkit/WebKit/android/plugins/
DSkANP.h69 static SkRect* SetRect(SkRect* dst, const ANPRectF& src);
72 static ANPRectF* SetRect(ANPRectF* dst, const SkRect& src);
DANPCanvasInterface.cpp64 SkRect r; in anp_clipRect()
79 SkRect bounds; in anp_getLocalClipBounds()
107 SkRect r; in anp_drawRect()
113 SkRect r; in anp_drawOval()
147 SkRect dstR; in anp_drawBitmapRect()
/external/skia/src/views/
DSkListView.cpp283 SkRect r;
311 bool SkListView::getRowRect(int index, SkRect* r) const
363 SkRect r;
628 SkRect r;
665 bool SkGridView::getCellRect(int index, SkRect* r) const
673 SkRect bounds;
711 static void copybits(SkCanvas* canvas, const SkBitmap& bm, const SkRect& dst, const SkPaint& paint)
713 SkRect src;
768 SkRect r;
783 SkRect r;
[all …]

123456