Searched refs:bounds (Results 1 - 25 of 350) sorted by relevance

1234567891011>>

/external/valgrind/drd/tests/
H A Dmatinv.stdout.exp1 Error within bounds.
H A Domp_matinv.stdout.exp1 Error within bounds.
H A Domp_matinv_racy.stdout.exp1 Error within bounds.
/external/fonttools/Lib/fontTools/pens/
H A DboundsPen.py13 """Pen to calculate the "control bounds" of a shape. This is the
18 When the shape has been drawn, the bounds are available as the
19 'bounds' attribute of the pen object. It's a 4-tuple:
25 self.bounds = None
28 bounds = self.bounds
29 if bounds:
30 self.bounds = updateBounds(bounds, pt)
33 self.bounds
[all...]
/external/fonttools/Tools/fontTools/pens/
H A DboundsPen.py13 """Pen to calculate the "control bounds" of a shape. This is the
18 When the shape has been drawn, the bounds are available as the
19 'bounds' attribute of the pen object. It's a 4-tuple:
25 self.bounds = None
28 bounds = self.bounds
29 if bounds:
30 self.bounds = updateBounds(bounds, pt)
33 self.bounds
[all...]
/external/skia/src/core/
H A DSkBBHFactory.cpp11 SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const {
12 SkScalar aspectRatio = bounds.width() / bounds.height();
H A DSkCanvasPriv.h15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
/external/skia/src/gpu/
H A DGrPathRenderer.cpp17 SkRect* bounds) {
19 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH));
22 *bounds = path.getBounds();
23 matrix.mapRect(bounds);
14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
/external/skia/src/pathops/
H A DSkPathOpsTightBounds.cpp25 SkPathOpsBounds bounds = current->bounds(); local
27 bounds.add(current->bounds());
29 *result = bounds;
H A DSkIntersectionHelper.h32 return bounds().fBottom;
35 const SkPathOpsBounds& bounds() const { function in class:SkIntersectionHelper
36 return fSegment->bounds();
48 return bounds().fLeft;
56 return bounds().fRight;
83 return bounds().fTop;
91 return bounds().fLeft;
99 return bounds().fTop;
/external/skia/tests/
H A DPathOpsBoundsTest.cpp19 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK
49 SkPathOpsBounds bounds; local
50 bounds.setEmpty();
51 bounds.add(1, 2, 3, 4);
54 REPORTER_ASSERT(reporter, bounds == expected);
55 bounds.setEmpty();
58 bounds.add(ordinal);
59 REPORTER_ASSERT(reporter, bounds == expected);
60 bounds.setEmpty();
62 bounds
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.h195 const VGfloat *bounds,
200 if (bounds) {
201 coords[2] = MIN2(coords[2], bounds[2]);
203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) {
204 coords[2] = (bounds[0] + bounds[2]) - coords[0];
210 const VGfloat *bounds,
215 if (bounds) {
216 coords[3] = MIN2(coords[3], bounds[
194 vg_shift_rectx(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
209 vg_shift_recty(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
/external/skia/gm/
H A Dmixedtextblobs.cpp61 SkRect bounds; variable
62 paint.measureText(text, strlen(text), &bounds);
64 SkScalar yOffset = bounds.height();
66 SkScalar corruptedAx = bounds.width();
69 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf;
70 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf;
80 paint.measureText(text, strlen(text), &bounds);
81 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.25f,
82 yOffset - bounds.height() * 0.5f);
83 yOffset += bounds
123 SkRect bounds = fBlob->bounds(); variable
[all...]
H A Dimageblurtiled.cpp36 SkRect bounds; local
37 if (!canvas->getClipBounds(&bounds)) {
38 bounds.setEmpty();
40 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tile_size) {
41 for (SkScalar x = bounds.left(); x < bounds.right(); x += tile_size) {
H A Dtextblobcolortrans.cpp36 SkRect bounds; variable
37 paint.measureText(text, strlen(text), &bounds);
39 SkScalar yOffset = bounds.height();
47 paint.measureText(text, strlen(text), &bounds);
69 SkRect bounds = fBlob->bounds(); variable
78 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight;
79 y += SkScalarFloorToInt(bounds.height())) {
/external/skia/bench/
H A DChromeBench.cpp483 SkIRect bounds; local
484 canvas->getClipDeviceBounds(&bounds);
485 SkASSERT(bounds.right()-bounds.left() >= W);
486 SkASSERT(bounds.bottom()-bounds.top() >= H);
/external/clang/test/SemaCXX/
H A Darray-bounds-system-header.cpp2 #include <array-bounds-system-header.h>
/external/skia/include/svg/
H A DSkSVGCanvas.h25 * The 'bounds' parameter defines an initial SVG viewport (viewBox attribute on the root
28 static SkCanvas* Create(const SkRect& bounds, SkXMLWriter*);
/external/skia/include/core/
H A DSkBBHFactory.h20 virtual SkBBoxHierarchy* operator()(const SkRect& bounds) const = 0;
26 SkBBoxHierarchy* operator()(const SkRect& bounds) const override;
/external/skia/src/animator/
H A DSkDrawSaveLayer.cpp19 SK_MEMBER(bounds, Rect),
27 SkSaveLayer::SkSaveLayer() : paint(NULL), bounds(NULL) {
35 if (!bounds) {
44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint);
47 maker.fCanvas->saveLayer(&bounds->fRect, save);
64 if (bounds)
65 SkDebugf("bounds=\"%s\" ", bounds->id);
73 if (!bounds)
/external/skia/src/svg/
H A DSkSVGCanvas.cpp11 SkCanvas* SkSVGCanvas::Create(const SkRect& bounds, SkXMLWriter* writer) { argument
12 // TODO: pass full bounds to the device
13 SkISize size = bounds.roundOut().size();
/external/skia/src/gpu/effects/
H A DGrConvolutionEffect.h29 float bounds[2]) {
35 bounds));
44 float bounds[2]) {
50 bounds));
57 const float* bounds() const { return fBounds; } function in class:GrConvolutionEffect
88 float bounds[2]);
95 float bounds[2]);
24 Create(GrTexture* tex, Direction dir, int halfWidth, const float* kernel, bool useBounds, float bounds[2]) argument
39 CreateGaussian(GrTexture* tex, Direction dir, int halfWidth, float gaussianSigma, bool useBounds, float bounds[2]) argument
/external/libvterm/src/
H A Drect.h17 /* Clip the dst to ensure it does not step outside of bounds */
18 static void rect_clip(VTermRect *dst, VTermRect *bounds) argument
20 if(dst->start_row < bounds->start_row) dst->start_row = bounds->start_row;
21 if(dst->start_col < bounds->start_col) dst->start_col = bounds->start_col;
22 if(dst->end_row > bounds->end_row) dst->end_row = bounds->end_row;
23 if(dst->end_col > bounds->end_col) dst->end_col = bounds
[all...]
/external/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp122 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
129 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
130 x = SkPin32(x, bounds.fLeft, bounds.fRight - 1);
131 y = SkPin32(y, bounds.fTop, bounds.fBottom - 1);
138 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
139 x = (x - bounds.left()) % bounds.width() + bounds
153 fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) argument
280 SkIRect bounds; local
322 SkIRect bounds = src; local
[all...]
/external/skia/include/utils/
H A DSkNoSaveLayerCanvas.h24 virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint,
26 this->INHERITED::willSaveLayer(bounds, paint, flags);

Completed in 465 milliseconds

1234567891011>>