Searched refs:fWidth (Results 1 - 25 of 416) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/include/core/
H A DSkSize.h14 T fWidth; member in struct:SkTSize
19 s.fWidth = w;
25 fWidth = w;
29 /** Returns true iff fWidth == 0 && fHeight == 0
32 return 0 == fWidth && 0 == fHeight;
37 return fWidth <= 0 || fHeight <= 0;
42 fWidth = fHeight = 0;
45 T width() const { return fWidth; }
50 if (fWidth < 0) {
51 fWidth
[all...]
H A DSkImageInfo.h156 : fWidth(0)
199 int width() const { return fWidth; }
204 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; }
210 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); }
221 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType);
225 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType);
233 return sk_64_mul(fWidth, this->bytesPerPixel());
254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel();
262 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
273 int fWidth; member in struct:SkImageInfo
[all...]
H A DSkStrokeRec.h38 SkScalar getWidth() const { return fWidth; }
89 return fWidth == other.fWidth &&
100 SkScalar fWidth; member in class:SkStrokeRec
/external/skia/include/core/
H A DSkSize.h14 T fWidth; member in struct:SkTSize
19 s.fWidth = w;
25 fWidth = w;
29 /** Returns true iff fWidth == 0 && fHeight == 0
32 return 0 == fWidth && 0 == fHeight;
37 return fWidth <= 0 || fHeight <= 0;
42 fWidth = fHeight = 0;
45 T width() const { return fWidth; }
50 if (fWidth < 0) {
51 fWidth
[all...]
H A DSkStrokeRec.h35 SkScalar getWidth() const { return fWidth; }
86 return fWidth == other.fWidth &&
97 SkScalar fWidth; member in class:SkStrokeRec
/external/chromium_org/third_party/skia/src/core/
H A DSkStrokeRec.cpp15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0;
37 fWidth = kStrokeRec_FillStyleWidth;
41 fWidth = paint.getStrokeWidth();
47 fWidth = kStrokeRec_FillStyleWidth;
50 fWidth = paint.getStrokeWidth();
57 fWidth = kStrokeRec_FillStyleWidth;
69 if (fWidth < 0) {
71 } else if (0 == fWidth) {
79 fWidth = kStrokeRec_FillStyleWidth;
84 fWidth
[all...]
H A DSkBitmapFilter.h24 : fWidth(width), fInvWidth(1.f/width) {
47 float width() const { return fWidth; }
54 float fWidth;
119 return SkTMax(0.f, fWidth - fabsf(x));
131 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f;
142 if (x <= -fWidth || x >= fWidth) {
151 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x)
162 if (x <= -fWidth ||
[all...]
H A DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;)
60 SkASSERT(fWidth > 0);
68 SkASSERT(count <= fWidth);
71 SkASSERT(count == fWidth);
/external/skia/src/core/
H A DSkStrokeRec.cpp15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0;
37 fWidth = kStrokeRec_FillStyleWidth;
41 fWidth = paint.getStrokeWidth();
47 fWidth = kStrokeRec_FillStyleWidth;
50 fWidth = paint.getStrokeWidth();
57 fWidth = kStrokeRec_FillStyleWidth;
69 if (fWidth < 0) {
71 } else if (0 == fWidth) {
79 fWidth = kStrokeRec_FillStyleWidth;
84 fWidth
[all...]
H A DSkBitmapFilter.h24 : fWidth(width), fInvWidth(1.f/width) {
47 float width() const { return fWidth; }
54 float fWidth;
119 return SkTMax(0.f, fWidth - fabsf(x));
131 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f;
142 if (x <= -fWidth || x >= fWidth) {
151 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x)
162 if (x <= -fWidth ||
[all...]
H A DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;)
60 SkASSERT(fWidth > 0);
68 SkASSERT(count <= fWidth);
71 SkASSERT(count == fWidth);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrRectanizer.h17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
26 int width() const { return fWidth; }
40 int fWidth; member in class:GrRectanizer
H A DGrRectanizer_skyline.cpp27 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) {
29 bestWidth = fSkyline[i].fWidth;
65 widthLeft -= fSkyline[i].fWidth;
78 newSegment.fWidth = width;
81 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width());
89 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) {
90 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX;
93 fSkyline[i].fWidth -= shrink;
95 if (fSkyline[i].fWidth <= 0) {
111 fSkyline[i].fWidth
[all...]
/external/skia/src/gpu/
H A DGrRectanizer.h17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
26 int width() const { return fWidth; }
40 int fWidth; member in class:GrRectanizer
H A DGrRectanizer_skyline.cpp27 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) {
29 bestWidth = fSkyline[i].fWidth;
65 widthLeft -= fSkyline[i].fWidth;
78 newSegment.fWidth = width;
81 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width());
89 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) {
90 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX;
93 fSkyline[i].fWidth -= shrink;
95 if (fSkyline[i].fWidth <= 0) {
111 fSkyline[i].fWidth
[all...]
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_Utils.cpp143 FX_FLOAT fWidth = crBBox.right - crBBox.left;
193 pts[j].x *= fWidth;
226 FX_FLOAT fWidth = crBBox.right - crBBox.left;
230 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
232 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom);
283 FX_FLOAT fWidth = crBBox.right - crBBox.left;
287 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
289 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom);
349 FX_FLOAT fWidth = crBBox.right - crBBox.left;
352 CPDF_Point pt1(-fWidth/
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLIRect.h23 GrGLsizei fWidth; member in struct:GrGLIRect
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight));
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
49 fWidth = width;
58 SkASSERT(fWidth >= 0);
66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth &&
70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;}
/external/skia/src/gpu/gl/
H A DGrGLIRect.h23 GrGLsizei fWidth; member in struct:GrGLIRect
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight));
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
49 fWidth = width;
58 SkASSERT(fWidth >= 0);
66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth &&
70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;}
/external/chromium_org/third_party/skia/src/images/
H A DSkPageFlipper.cpp13 fWidth = 0;
23 fWidth = width;
33 fWidth = width;
42 fDirty1->setRect(0, 0, fWidth, fHeight);
47 r.set(0, 0, fWidth, fHeight);
55 r.setRect(0, 0, fWidth, fHeight);
/external/skia/src/images/
H A DSkPageFlipper.cpp13 fWidth = 0;
23 fWidth = width;
33 fWidth = width;
42 fDirty1->setRect(0, 0, fWidth, fHeight);
47 r.set(0, 0, fWidth, fHeight);
55 r.setRect(0, 0, fWidth, fHeight);
/external/chromium_org/third_party/skia/include/images/
H A DSkPageFlipper.h29 int width() const { return fWidth; }
58 int fWidth; member in class:SkPageFlipper
/external/skia/include/images/
H A DSkPageFlipper.h29 int width() const { return fWidth; }
58 int fWidth; member in class:SkPageFlipper
/external/chromium_org/third_party/skia/tests/
H A DMipMapTest.cpp43 REPORTER_ASSERT(reporter, level.fWidth > 0);
45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
/external/skia/tests/
H A DMipMapTest.cpp43 REPORTER_ASSERT(reporter, level.fWidth > 0);
45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
/external/chromium_org/third_party/skia/platform_tools/nacl/src/
H A Dnacl_hello.cpp87 if (position.size().width() == fWidth &&
91 fWidth = position.size().width();
93 fDeviceContext = pp::Graphics2D(this, pp::Size(fWidth, fHeight), false);
100 pp::Size(fWidth, fHeight), false);
101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fWidth, fHeight);
122 int fWidth; member in class:SkiaInstance

Completed in 404 milliseconds

1234567891011>>