Home
last modified time | relevance | path

Searched refs:fHeight (Results 1 – 25 of 175) sorted by relevance

1234567

/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp144 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Check() local
196 pts[j].y *= fHeight; in GetAP_Check()
227 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Circle() local
229 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); in GetAP_Circle()
231 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Circle()
284 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Diamond() local
286 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); in GetAP_Diamond()
288 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Diamond()
350 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_HalfCircle() local
353 CPDF_Point pt2(0,fHeight/2); in GetAP_HalfCircle()
[all …]
/external/skia/include/core/
DSkSize.h15 T fHeight; member
20 s.fHeight = h; in Make()
26 fHeight = h; in set()
32 return 0 == fWidth && 0 == fHeight; in isZero()
37 return fWidth <= 0 || fHeight <= 0; in isEmpty()
42 fWidth = fHeight = 0; in setEmpty()
46 T height() const { return fHeight; } in height()
53 if (fHeight < 0) { in clampNegToZero()
54 fHeight = 0; in clampNegToZero()
59 return fWidth == w && fHeight == h; in equals()
[all …]
DSkImageInfo.h155 , fHeight(0) in SkImageInfo()
205 int height() const { return fHeight; } in height()
210 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } in isEmpty()
219 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions()
220 SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); } in bounds()
231 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType); in makeAlphaType()
235 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType, fProfileType); in makeColorType()
261 if (0 == fHeight) { in getSafeSize64()
264 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); in getSafeSize64()
284 int fHeight; member
[all …]
DSkImage.h86 int height() const { return fHeight; } in height()
178 fHeight(height), in SkImage()
187 const int fHeight; variable
/external/skia/src/gpu/gl/
DGrGLIRect.h24 GrGLsizei fHeight; member
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
51 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo()
55 fHeight = height; in setRelativeTo()
60 SkASSERT(fHeight >= 0); in setRelativeTo()
67 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains()
70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
DGrGLRenderTarget.cpp39 fViewport.fHeight = desc.fHeight; in init()
54 fGpuMemorySize = colorValuesPerPixel * fDesc.fWidth * fDesc.fHeight * colorBytes; in init()
DGrGLProgram.h68 fRenderTargetSize.fHeight = -1; in invalidate()
83 destVec[2] = -2.f / fRenderTargetSize.fHeight; in getRTAdjustmentVec()
86 destVec[2] = 2.f / fRenderTargetSize.fHeight; in getRTAdjustmentVec()
/external/skia/src/images/
DSkPageFlipper.cpp14 fHeight = 0; in SkPageFlipper()
24 fHeight = height; in SkPageFlipper()
34 fHeight = height; in resize()
42 fDirty1->setRect(0, 0, fWidth, fHeight); in inval()
47 r.set(0, 0, fWidth, fHeight); in inval()
55 r.setRect(0, 0, fWidth, fHeight); in inval()
DSkImageDecoder_wbmp.cpp53 int fHeight; member
68 if (!read_mbf(stream, &fHeight) || (unsigned)fHeight > 0xFFFF) { in init()
71 return fWidth != 0 && fHeight != 0; in init()
112 int height = head.fHeight; in onDecode()
/external/skia/src/image/
DSkImage_Gpu.cpp115 if (desc.fWidth <= 0 || desc.fHeight <= 0) { in NewFromTexture()
123 return SkNEW_ARGS(SkImage_Gpu, (desc.fWidth, desc.fHeight, at, tex, 0, budgeted)); in NewFromTexture()
131 if (srcDesc.fWidth <= 0 || srcDesc.fHeight <= 0) { in NewFromTextureCopy()
144 dstDesc.fHeight = srcDesc.fHeight; in NewFromTextureCopy()
154 const SkIRect srcR = SkIRect::MakeWH(dstDesc.fWidth, dstDesc.fHeight); in NewFromTextureCopy()
159 return SkNEW_ARGS(SkImage_Gpu, (dstDesc.fWidth, dstDesc.fHeight, at, dst, sampleCount, in NewFromTextureCopy()
DSkSurface.cpp124 : fProps(SkSurfacePropsCopyOrDefault(props)), fWidth(width), fHeight(height) in SkSurface()
127 SkASSERT(fHeight > 0); in SkSurface()
132 : fProps(SkSurfacePropsCopyOrDefault(props)), fWidth(info.width()), fHeight(info.height()) in SkSurface()
135 SkASSERT(fHeight > 0); in SkSurface()
/external/skia/src/gpu/
DGrTexture.cpp37 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight); in onGpuMemorySize()
39 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig); in onGpuMemorySize()
91 fShiftFixedY = 31 - SkCLZ(fDesc.fHeight); in GrTexture()
103 SkASSERT(desc.fHeight <= SK_MaxU16); in ComputeScratchKey()
109 builder[0] = desc.fWidth | (desc.fHeight << 16); in ComputeScratchKey()
DGrRectanizer.h17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) { in GrRectanizer()
27 int height() const { return fHeight; } in height()
41 int fHeight; variable
DGrStencilAttachment.h28 int height() const { return fHeight; } in height()
60 , fHeight(height) in GrStencilAttachment()
70 int fHeight; variable
DGrFontScaler.cpp110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphBounds()
119 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphDFBounds()
158 SkASSERT(glyph.fHeight == height); in getPackedGlyphImage()
205 SkASSERT(glyph.fHeight + 2*SK_DistanceFieldPad == height); in getPackedGlyphDFImage()
217 glyph.fWidth, glyph.fHeight, in getPackedGlyphDFImage()
223 glyph.fWidth, glyph.fHeight, in getPackedGlyphDFImage()
DSkGr.cpp153 desc->fHeight = bitmap.height(); in generate_bitmap_texture_desc()
205 rtDesc.fHeight = GrNextPow2(rtDesc.fHeight); in stretch_texture_to_next_pot()
245 SkRect rect = SkRect::MakeWH(SkIntToScalar(rtDesc.fWidth), SkIntToScalar(rtDesc.fHeight)); in stretch_texture_to_next_pot()
338 yuvInfo.fSizeInMemory[i] = yuvInfo.fRowBytes[i] * yuvInfo.fSize[i].fHeight; in load_yuv_texture()
368 yuvDesc.fHeight = yuvInfo.fSize[i].fHeight; in load_yuv_texture()
371 (yuvDesc.fHeight != yuvInfo.fSize[0].fHeight); in load_yuv_texture()
376 !yuvTextures[i]->writePixels(0, 0, yuvDesc.fWidth, yuvDesc.fHeight, in load_yuv_texture()
399 SkIntToScalar(yuvInfo.fSize[0].fHeight)); in load_yuv_texture()
746 SkASSERT(h <= desc.fHeight); in GrMakeInfoFromTexture()
/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp25 h[0] = SkIntToScalar(sizes[0].fHeight) / SkIntToScalar(yTexture->height()); in Create()
27 h[1] = SkIntToScalar(sizes[1].fHeight) / SkIntToScalar(uTexture->height()); in Create()
29 h[2] = SkIntToScalar(sizes[2].fHeight) / SkIntToScalar(vTexture->height()); in Create()
38 (sizes[1].fHeight != sizes[0].fHeight) || in Create()
40 (sizes[2].fHeight != sizes[0].fHeight)) ? in Create()
/external/skia/tests/
DSizeTest.cpp31 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST()
57 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST()
DReadWriteAlphaTest.cpp41 desc.fHeight = Y_SIZE; in DEF_GPUTEST()
59 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST()
68 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST()
97 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST()
DMipMapTest.cpp44 REPORTER_ASSERT(reporter, level.fHeight > 0); in DEF_TEST()
49 REPORTER_ASSERT(reporter, level.fHeight <= prevLevel.fHeight); in DEF_TEST()
DRecordingXfermodeTest.cpp104 fHeight = imageInfo.height(); in PictureStrategy()
112 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay()
114 SkIntToScalar(fHeight), in recordAndReplay()
129 int fHeight; member in __anon60800ab20111::PictureStrategy
DYUVCacheTest.cpp37 yuvInfo.fSize[i].fHeight = 10 * i; in DEF_TEST()
65 REPORTER_ASSERT(reporter, yuvInfo.fSize[i].fHeight == yuvInfoRead.fSize[i].fHeight); in DEF_TEST()
/external/skia/gm/
Dcomplexclip2.cpp34 fHeight = yF - yA; in ComplexClip2GM()
37 fTotalHeight = kRows * fHeight + SK_Scalar1 * (kRows + 1) * kPadY; in ComplexClip2GM()
151 kPadY * SK_Scalar1 + (fHeight + kPadY * SK_Scalar1)*i); in onDraw()
189 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw()
203 SkScalar fHeight; member in skiagm::ComplexClip2GM
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp44 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilter()
46 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter()
62 if (gMaxKernelSize / kernelSize.fWidth < kernelSize.fHeight) { in Create()
69 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Create()
81 kernelSize.fHeight = buffer.readInt(); in CreateProc()
106 buffer.writeInt(fKernelSize.fHeight); in flatten()
107 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
175 for (int cy = 0; cy < fKernelSize.fHeight; cy++) { in filterPixels()
304 bounds.height() - fKernelSize.fHeight + 1); in onFilterImage()
/external/skia/experimental/tools/
DPageCachingDocument.cpp36 SkScalar fHeight; member
64 page->fHeight = height; in onBeginPage()
82 doc->beginPage(page->fWidth, page->fHeight, &cullRect); in onClose()

1234567