Home
last modified time | relevance | path

Searched refs:shape1 (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRegion.cpp391 Region::Shape Region::Shape::shapeOperation(const Shape& shape1, const Shape& shape2) in shapeOperation() argument
397 if (Operation::trySimpleOperation(shape1, shape2, result)) in shapeOperation()
400 SpanIterator spans1 = shape1.spansBegin(); in shapeOperation()
401 SpanIterator spans1End = shape1.spansEnd(); in shapeOperation()
420 segments1 = shape1.segmentsBegin(spans1); in shapeOperation()
421 segments1End = shape1.segmentsEnd(spans1); in shapeOperation()
475 result.appendSpans(shape1, spans1, spans1End); in shapeOperation()
483 static bool trySimpleOperation(const Shape& shape1, const Shape& shape2, Shape& result) in trySimpleOperation()
485 if (shape1.isEmpty()) { in trySimpleOperation()
501 Region::Shape Region::Shape::unionShapes(const Shape& shape1, const Shape& shape2) in unionShapes() argument
[all …]
DRegion.h94 static Shape unionShapes(const Shape& shape1, const Shape& shape2);
95 static Shape intersectShapes(const Shape& shape1, const Shape& shape2);
96 static Shape subtractShapes(const Shape& shape1, const Shape& shape2);
105 static bool compareShapes(const Shape& shape1, const Shape& shape2);
117 static Shape shapeOperation(const Shape& shape1, const Shape& shape2);