Lines Matching refs:Shape
53 …for (Shape::SpanIterator span = m_shape.spans_begin(), end = m_shape.spans_end(); span != end && s… in rects()
57 …for (Shape::SegmentIterator segment = m_shape.segments_begin(span), end = m_shape.segments_end(spa… in rects()
68 Region::Shape::Shape() in Shape() function in WebKit::Region::Shape
72 Region::Shape::Shape(const IntRect& rect) in Shape() function in WebKit::Region::Shape
80 void Region::Shape::appendSpan(int y) in appendSpan()
85 bool Region::Shape::canCoalesce(SegmentIterator begin, SegmentIterator end) in canCoalesce()
105 void Region::Shape::appendSpan(int y, SegmentIterator begin, SegmentIterator end) in appendSpan()
114 void Region::Shape::appendSpans(const Shape& shape, SpanIterator begin, SpanIterator end) in appendSpans()
120 void Region::Shape::appendSegment(int x) in appendSegment()
125 Region::Shape::SpanIterator Region::Shape::spans_begin() const in spans_begin()
130 Region::Shape::SpanIterator Region::Shape::spans_end() const in spans_end()
135 Region::Shape::SegmentIterator Region::Shape::segments_begin(SpanIterator it) const in segments_begin()
147 Region::Shape::SegmentIterator Region::Shape::segments_end(SpanIterator it) const in segments_end()
164 void Region::Shape::dump() const in dump()
166 for (Shape::SpanIterator span = spans_begin(), end = spans_end(); span != end; ++span) { in dump()
169 …for (Shape::SegmentIterator segment = segments_begin(span), end = segments_end(span); segment != e… in dump()
178 IntRect Region::Shape::bounds() const in bounds()
215 void Region::Shape::translate(const IntSize& offset) in translate()
223 void Region::Shape::swap(Shape& other) in swap()
235 Region::Shape Region::Shape::shapeOperation(const Shape& shape1, const Shape& shape2) in shapeOperation()
240 Shape result; in shapeOperation()
326 struct Region::Shape::UnionOperation {
327 static bool trySimpleOperation(const Shape& shape1, const Shape& shape2, Shape& result) in trySimpleOperation()
350 Region::Shape Region::Shape::unionShapes(const Shape& shape1, const Shape& shape2) in unionShapes()
355 struct Region::Shape::IntersectOperation {
356 static bool trySimpleOperation(const Shape& shape1, const Shape& shape2, Shape& result) in trySimpleOperation()
359 result = Shape(); in trySimpleOperation()
379 Region::Shape Region::Shape::intersectShapes(const Shape& shape1, const Shape& shape2) in intersectShapes()
384 struct Region::Shape::SubtractOperation {
385 static bool trySimpleOperation(const Shape& shape1, const Shape& shape2, Region::Shape& result) in trySimpleOperation()
389 result = Shape(); in trySimpleOperation()
404 Region::Shape Region::Shape::subtractShapes(const Shape& shape1, const Shape& shape2) in subtractShapes()
421 m_shape = Shape(); in intersect()
426 Shape intersectedShape = Shape::intersectShapes(m_shape, region.m_shape); in intersect()
434 Shape unitedShape = Shape::unionShapes(m_shape, region.m_shape); in unite()
442 Shape subtractedShape = Shape::subtractShapes(m_shape, region.m_shape); in subtract()