HomeSort by relevance Sort by last modified time
    Searched refs:perimeter (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
AndroidPathRenderer.cpp 75 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* vertexBuffer) {
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count());
107 int srcBindex = perimeter.count() - 1;
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]);
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]);
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrokeWidth,
119 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count() * 2 + 2);
122 const Vertex* last = &(perimeter[perimeter.count() - 1])
    [all...]
  /external/skia/experimental/AndroidPathRenderer/
AndroidPathRenderer.cpp 75 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* vertexBuffer) {
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count());
107 int srcBindex = perimeter.count() - 1;
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]);
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]);
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrokeWidth,
119 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count() * 2 + 2);
122 const Vertex* last = &(perimeter[perimeter.count() - 1])
    [all...]
  /frameworks/base/libs/hwui/
PathTessellator.cpp 82 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
183 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) {
184 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size());
190 int srcBindex = perimeter.size() - 1;
192 buffer[currentIndex++] = perimeter[srcAindex];
194 buffer[currentIndex++] = perimeter[srcBindex];
201 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a
205 * (for a total of perimeter.size() * 2 + 2 vertices)
207 void getStrokeVerticesFromPerimeter(const PaintInfo& paintInfo, const Vector<Vertex>& perimeter,
209 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2)
    [all...]
  /external/opencv/cv/src/
cvshapedescr.cpp 43 /* calculates length of a curve (e.g. contour perimeter) */
47 double perimeter = 0; local
122 perimeter += buffer.data.fl[j-1];
129 return perimeter;
    [all...]

Completed in 4567 milliseconds