Searched refs:fHalfWidth (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffline.cpp | 39 float fHalfWidth = fLineWidth / 2.0f; in GetRectFromHand() local 43 rect.top -= fHalfWidth; in GetRectFromHand() 46 rect.top += fHalfWidth; in GetRectFromHand() 56 rect.left += fHalfWidth; in GetRectFromHand() 59 rect.left += fHalfWidth; in GetRectFromHand() 70 rect.Inflate(fHalfWidth, fHalfWidth); in GetRectFromHand() 73 rect.Deflate(fHalfWidth, fHalfWidth); in GetRectFromHand()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_rectangle.cpp | 388 float fHalfWidth = fThickness / 2.0f; in StrokeLowered() local 390 rtInner.Deflate(fHalfWidth, fHalfWidth); in StrokeLowered() 398 StrokeRect(pGS, rtInner, fHalfWidth, matrix, 0xFF808080, 0xFFC0C0C0); in StrokeLowered() 405 float fHalfWidth = fThickness / 2.0f; in StrokeRaised() local 407 rtInner.Deflate(fHalfWidth, fHalfWidth); in StrokeRaised() 415 StrokeRect(pGS, rtInner, fHalfWidth, matrix, 0xFFFFFFFF, 0xFF808080); in StrokeRaised() 422 float fHalfWidth = fThickness / 2.0f; in StrokeEtched() local 426 rtInner.Deflate(fHalfWidth, fHalfWidth); in StrokeEtched() 427 StrokeRect(pGS, rtInner, fHalfWidth, matrix, 0xFFFFFFFF, 0xFF808080); in StrokeEtched() 434 float fHalfWidth = fThickness / 2.0f; in StrokeEmbossed() local [all …]
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 1236 float fHalfWidth = fWidth / 2.0f; in DrawBorder() local 1281 gsd.m_LineWidth = fHalfWidth; in DrawBorder() 1285 pathLT.AppendPoint(CFX_PointF(fLeft + fHalfWidth, fBottom + fHalfWidth), in DrawBorder() 1287 pathLT.AppendPoint(CFX_PointF(fLeft + fHalfWidth, fTop - fHalfWidth), in DrawBorder() 1289 pathLT.AppendPoint(CFX_PointF(fRight - fHalfWidth, fTop - fHalfWidth), in DrawBorder() 1292 CFX_PointF(fRight - fHalfWidth * 2, fTop - fHalfWidth * 2), in DrawBorder() 1295 CFX_PointF(fLeft + fHalfWidth * 2, fTop - fHalfWidth * 2), in DrawBorder() 1298 CFX_PointF(fLeft + fHalfWidth * 2, fBottom + fHalfWidth * 2), in DrawBorder() 1300 pathLT.AppendPoint(CFX_PointF(fLeft + fHalfWidth, fBottom + fHalfWidth), in DrawBorder() 1307 pathRB.AppendPoint(CFX_PointF(fRight - fHalfWidth, fTop - fHalfWidth), in DrawBorder() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_generateap.cpp | 209 float fHalfWidth = fWidth / 2.0f; in GenerateBorderAP() local 248 sAppStream << fLeft + fHalfWidth << " " << fBottom + fHalfWidth in GenerateBorderAP() 250 sAppStream << fLeft + fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 252 sAppStream << fRight - fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 254 sAppStream << fRight - fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GenerateBorderAP() 256 sAppStream << fLeft + fHalfWidth * 2 << " " << fTop - fHalfWidth * 2 in GenerateBorderAP() 258 sAppStream << fLeft + fHalfWidth * 2 << " " in GenerateBorderAP() 259 << fBottom + fHalfWidth * 2 << " l f\n"; in GenerateBorderAP() 264 sAppStream << fRight - fHalfWidth << " " << fTop - fHalfWidth in GenerateBorderAP() 266 sAppStream << fRight - fHalfWidth << " " << fBottom + fHalfWidth in GenerateBorderAP() [all …]
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_appstream.cpp | 425 float fHalfWidth = fWidth / 2.0f; in GetCircleBorderAppStream() local 426 CFX_FloatRect rect_by_2 = rect.GetDeflated(fHalfWidth, fHalfWidth); in GetCircleBorderAppStream() 428 float div = fHalfWidth * 0.75f; in GetCircleBorderAppStream() 457 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 465 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 473 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 482 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 490 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 498 sAppStream << fHalfWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream() 946 float fHalfWidth = fWidth / 2.0f; in GetBorderAppStreamInternal() local [all …]
|
/external/pdfium/core/fxcrt/ |
D | fx_coordinates.cpp | 141 float fHalfWidth = (fWidth > fHeight) ? fHeight / 2 : fWidth / 2; in GetCenterSquare() local 145 return CFX_FloatRect(fCenterX - fHalfWidth, fCenterY - fHalfWidth, in GetCenterSquare() 146 fCenterX + fHalfWidth, fCenterY + fHalfWidth); in GetCenterSquare() 180 float fHalfWidth = (right - left) / 2.0f; in ScaleFromCenterPoint() local 186 left = center_x - fHalfWidth * fScale; in ScaleFromCenterPoint() 188 right = center_x + fHalfWidth * fScale; in ScaleFromCenterPoint()
|