Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp183 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter() argument
184 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); in getFillVerticesFromPerimeter()
190 int srcBindex = perimeter.size() - 1; in getFillVerticesFromPerimeter()
192 buffer[currentIndex++] = perimeter[srcAindex]; in getFillVerticesFromPerimeter()
194 buffer[currentIndex++] = perimeter[srcBindex]; in getFillVerticesFromPerimeter()
207 void getStrokeVerticesFromPerimeter(const PaintInfo& paintInfo, const Vector<Vertex>& perimeter, in getStrokeVerticesFromPerimeter() argument
209 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); in getStrokeVerticesFromPerimeter()
212 const Vertex* last = &(perimeter[perimeter.size() - 1]); in getStrokeVerticesFromPerimeter()
213 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeter()
216 for (unsigned int i = 0; i < perimeter.size(); i++) { in getStrokeVerticesFromPerimeter()
[all …]
/frameworks/base/docs/html/tools/help/
Ddraw9patch.jd29 <li>Click within the 1-pixel perimeter to draw the lines that define the stretchable