Searched refs:fHalfWidth (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_ffpath.cpp | 21 FX_FLOAT fHalfWidth = fLineWidth / 2.0f; in GetRectFromHand() local 25 rect.top -= fHalfWidth; in GetRectFromHand() 28 rect.top += fHalfWidth; in GetRectFromHand() 33 rect.left += fHalfWidth; in GetRectFromHand() 36 rect.left += fHalfWidth; in GetRectFromHand() 42 rect.Inflate(fHalfWidth, fHalfWidth); in GetRectFromHand() 45 rect.Deflate(fHalfWidth, fHalfWidth); in GetRectFromHand()
|
D | xfa_ffwidget.cpp | 1735 FX_FLOAT fHalfWidth = fThickness / 2.0f; in XFA_BOX_Stroke_3DRect_Lowered() local 1737 rtInner.Deflate(fHalfWidth, fHalfWidth); in XFA_BOX_Stroke_3DRect_Lowered() 1745 XFA_Draw3DRect(pGS, rtInner, fHalfWidth, pMatrix, 0xFF808080, 0xFFC0C0C0); in XFA_BOX_Stroke_3DRect_Lowered() 1751 FX_FLOAT fHalfWidth = fThickness / 2.0f; in XFA_BOX_Stroke_3DRect_Raised() local 1753 rtInner.Deflate(fHalfWidth, fHalfWidth); in XFA_BOX_Stroke_3DRect_Raised() 1761 XFA_Draw3DRect(pGS, rtInner, fHalfWidth, pMatrix, 0xFFFFFFFF, 0xFF808080); in XFA_BOX_Stroke_3DRect_Raised() 1767 FX_FLOAT fHalfWidth = fThickness / 2.0f; in XFA_BOX_Stroke_3DRect_Etched() local 1770 rtInner.Deflate(fHalfWidth, fHalfWidth); in XFA_BOX_Stroke_3DRect_Etched() 1771 XFA_Draw3DRect(pGS, rtInner, fHalfWidth, pMatrix, 0xFFFFFFFF, 0xFF808080); in XFA_BOX_Stroke_3DRect_Etched() 1777 FX_FLOAT fHalfWidth = fThickness / 2.0f; in XFA_BOX_Stroke_3DRect_Embossed() local [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_ap.cpp | 811 FX_FLOAT fHalfWidth = fWidth / 2.0f; in GenerateBorderAP() local 850 sAppStream << fLeft + fHalfWidth << " " << fBottom + fHalfWidth in GenerateBorderAP() 852 sAppStream << fLeft + fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 854 sAppStream << fRight - fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 856 sAppStream << fRight - fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GenerateBorderAP() 858 sAppStream << fLeft + fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GenerateBorderAP() 860 sAppStream << fLeft + fHalfWidth * 2 << " " in GenerateBorderAP() 861 << fBottom + fHalfWidth * 2 << " l f\n"; in GenerateBorderAP() 866 sAppStream << fRight - fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 868 sAppStream << fRight - fHalfWidth << " " << fBottom + fHalfWidth in GenerateBorderAP() [all …]
|
/external/pdfium/xfa/src/fwl/src/theme/ |
D | widgettp.cpp | 302 FX_FLOAT fHalfWidth = fWidth / 2.0f; in Draw3DRect() local 307 pathLT.MoveTo(fLeft, fBottom - fHalfWidth); in Draw3DRect() 309 pathLT.LineTo(fRight - fHalfWidth, fTop); in Draw3DRect() 310 pathLT.LineTo(fRight - fHalfWidth, fTop + fHalfWidth); in Draw3DRect() 311 pathLT.LineTo(fLeft + fHalfWidth, fTop + fHalfWidth); in Draw3DRect() 312 pathLT.LineTo(fLeft + fHalfWidth, fBottom - fHalfWidth); in Draw3DRect() 313 pathLT.LineTo(fLeft, fBottom - fHalfWidth); in Draw3DRect() 318 pathLT.MoveTo(fLeft + fHalfWidth, fBottom - fWidth); in Draw3DRect() 319 pathLT.LineTo(fLeft + fHalfWidth, fTop + fHalfWidth); in Draw3DRect() 320 pathLT.LineTo(fRight - fWidth, fTop + fHalfWidth); in Draw3DRect() [all …]
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Utils.cpp | 360 FX_FLOAT fHalfWidth = (rcRect.right - rcRect.left) / 2.0f; in ScaleRect() local 367 ptCenter.x - fHalfWidth * fScale, ptCenter.y - fHalfHeight * fScale, in ScaleRect() 368 ptCenter.x + fHalfWidth * fScale, ptCenter.y + fHalfHeight * fScale); in ScaleRect() 877 FX_FLOAT fHalfWidth = fWidth / 2.0f; in GetBorderAppStream() local 919 sAppStream << fLeft + fHalfWidth << " " << fBottom + fHalfWidth in GetBorderAppStream() 921 sAppStream << fLeft + fHalfWidth << " " << fTop - fHalfWidth in GetBorderAppStream() 923 sAppStream << fRight - fHalfWidth << " " << fTop - fHalfWidth in GetBorderAppStream() 925 sAppStream << fRight - fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GetBorderAppStream() 927 sAppStream << fLeft + fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GetBorderAppStream() 929 sAppStream << fLeft + fHalfWidth * 2 << " " in GetBorderAppStream() [all …]
|