/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/ |
H A D | poly.cxx | 173 if( nRadX && nRadY ) in ImplPolygon() 178 const bool bOverflow = o3tl::checked_multiply(nRadX, nRadY, nRadXY); in ImplPolygon() 182 ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in ImplPolygon() 191 if( ( nRadX > 32 ) && ( nRadY > 32 ) && ( nRadX + nRadY ) < 8192 ) in ImplPolygon() 207 tools::Long nY = FRound( -nRadY * sin( nAngle ) ); in ImplPolygon() 240 const auto nRadY = o3tl::saturating_sub(aCenter.Y(), aBoundTop); in ImplPolygon() local 244 const bool bOverflow = o3tl::checked_multiply(nRadX, nRadY, nRadXY); in ImplPolygon() 248 ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in ImplPolygon() 258 if (nRadX > 32 && nRadY > 32 && o3tl::saturating_add(nRadX, nRadY) < 8192) in ImplPolygon() 263 const double fRadY = nRadY; in ImplPolygon() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/generic/ |
H A D | poly.cxx | 170 ImplPolygon::ImplPolygon( const Point& rCenter, long nRadX, long nRadY ) in ImplPolygon() argument 172 if( nRadX && nRadY ) in ImplPolygon() 181 ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in ImplPolygon() 190 if( ( nRadX > 32 ) && ( nRadY > 32 ) && ( nRadX + nRadY ) < 8192 ) in ImplPolygon() 206 long nY = FRound( -nRadY * sin( nAngle ) ); in ImplPolygon() 236 const long nRadY = aCenter.Y() - rBound.Top(); in ImplPolygon() local 244 ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in ImplPolygon() 254 if( ( nRadX > 32 ) && ( nRadY > 32 ) && ( nRadX + nRadY ) < 8192 ) in ImplPolygon() 259 const double fRadY = nRadY; in ImplPolygon() 889 Polygon::Polygon( const Point& rCenter, long nRadX, long nRadY ) in Polygon() argument [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/inc/ |
H A D | poly.h | 40 ImplPolygon( const Point& rCenter, tools::Long nRadX, tools::Long nRadY );
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/inc/ |
H A D | poly.h | 39 ImplPolygon( const Point& rCenter, long nRadX, long nRadY );
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/flash/ |
H A D | swfwriter.hxx | 329 void Impl_writeRect( const tools::Rectangle& rRect, long nRadX, long nRadY ); 330 void Impl_writeEllipse( const Point& rCenter, long nRadX, long nRadY );
|
H A D | swfwriter1.cxx | 1044 void Writer::Impl_writeRect( const tools::Rectangle& rRect, long nRadX, long nRadY ) in Impl_writeRect() argument 1053 tools::Polygon aPoly( rRect, nRadX, nRadY ); in Impl_writeRect() 1059 void Writer::Impl_writeEllipse( const Point& rCenter, long nRadX, long nRadY ) in Impl_writeEllipse() argument 1061 tools::Polygon aPoly( rCenter, nRadX, nRadY ); in Impl_writeEllipse()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/svg/ |
H A D | svgwriter.hxx | 344 … ImplWriteRect( const tools::Rectangle& rRect, long nRadX = 0, long nRadY = 0 ); 345 void ImplWriteEllipse( const Point& rCenter, long nRadX, long nRadY );
|
H A D | svgwriter.cxx | 1872 void SVGActionWriter::ImplWriteRect( const tools::Rectangle& rRect, long nRadX, long nRadY ) in ImplWriteRect() argument 1886 if( nRadY ) in ImplWriteRect() 1887 … mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrRY, OUString::number( ImplMap( nRadY ) ) ); in ImplWriteRect() 1893 void SVGActionWriter::ImplWriteEllipse( const Point& rCenter, long nRadX, long nRadY ) in ImplWriteEllipse() argument 1902 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrRY, OUString::number( ImplMap( nRadY ) ) ); in ImplWriteEllipse()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/filter/source/svg/ |
H A D | svgwriter.hxx | 331 … ImplWriteRect( const tools::Rectangle& rRect, tools::Long nRadX = 0, tools::Long nRadY = 0 ); 332 … ImplWriteEllipse( const Point& rCenter, tools::Long nRadX, tools::Long nRadY );
|
H A D | svgwriter.cxx | 1981 …GActionWriter::ImplWriteRect( const tools::Rectangle& rRect, tools::Long nRadX, tools::Long nRadY ) in ImplWriteRect() argument 1995 if( nRadY ) in ImplWriteRect() 1996 … mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrRY, OUString::number( ImplMap( nRadY ) ) ); in ImplWriteRect() 2002 void SVGActionWriter::ImplWriteEllipse( const Point& rCenter, tools::Long nRadX, tools::Long nRadY ) in ImplWriteEllipse() argument 2011 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrRY, OUString::number( ImplMap( nRadY ) ) ); in ImplWriteEllipse()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/tools/ |
H A D | poly.hxx | 91 long nRadX, long nRadY );
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/tools/ |
H A D | poly.hxx | 92 tools::Long nRadX, tools::Long nRadY );
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/control/ |
H A D | button.cxx | 2491 tools::Long nRadY = aImageSize.Height()/2; in Draw() local 2495 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw() 2497 nRadY -= aBrd1Size.Height(); in Draw() 2499 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw() 2503 nRadY -= aBrd1Size.Height(); in Draw() 2506 if ( !nRadY ) in Draw() 2507 nRadY = 1; in Draw() 2509 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/control/ |
H A D | button.cxx | 2429 long nRadY = aImageSize.Height()/2; in Draw() local 2433 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw() 2435 nRadY -= aBrd1Size.Height(); in Draw() 2437 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw() 2441 nRadY -= aBrd1Size.Height(); in Draw() 2444 if ( !nRadY ) in Draw() 2445 nRadY = 1; in Draw() 2447 pDev->DrawPolygon( tools::Polygon( aCenterPos, nRadX, nRadY ) ); in Draw()
|