compact namespace: basegfx,canvas
Change-Id: Idc808459b403bcdcccbd86b73dd22b424e507c8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98897 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -27,9 +27,7 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace basegfx
|
namespace basegfx::internal
|
||||||
{
|
|
||||||
namespace internal
|
|
||||||
{
|
{
|
||||||
|
|
||||||
inline double implGetDefaultValue(sal_uInt16 nRow, sal_uInt16 nColumn)
|
inline double implGetDefaultValue(sal_uInt16 nRow, sal_uInt16 nColumn)
|
||||||
@@ -523,8 +521,7 @@ namespace basegfx
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace basegfx::internal
|
||||||
} // namespace basegfx
|
|
||||||
|
|
||||||
#endif // INCLUDED_BASEGFX_SOURCE_INC_HOMMATRIXTEMPLATE_HXX
|
#endif // INCLUDED_BASEGFX_SOURCE_INC_HOMMATRIXTEMPLATE_HXX
|
||||||
|
|
||||||
|
@@ -22,9 +22,7 @@
|
|||||||
#include <sal/types.h>
|
#include <sal/types.h>
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
|
|
||||||
namespace basegfx
|
namespace basegfx::internal
|
||||||
{
|
|
||||||
namespace internal
|
|
||||||
{
|
{
|
||||||
void skipSpaces(sal_Int32& io_rPos,
|
void skipSpaces(sal_Int32& io_rPos,
|
||||||
const OUString& rStr,
|
const OUString& rStr,
|
||||||
@@ -57,8 +55,7 @@ namespace basegfx
|
|||||||
const OUString& rStr,
|
const OUString& rStr,
|
||||||
const sal_Int32 nLen);
|
const sal_Int32 nLen);
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace basegfx::internal
|
||||||
} // namespace basegfx
|
|
||||||
|
|
||||||
#endif // INCLUDED_BASEGFX_SOURCE_INC_STRINGCONVERSIONTOOLS_HXX
|
#endif // INCLUDED_BASEGFX_SOURCE_INC_STRINGCONVERSIONTOOLS_HXX
|
||||||
|
|
||||||
|
@@ -52,10 +52,8 @@
|
|||||||
using namespace ::com::sun::star;
|
using namespace ::com::sun::star;
|
||||||
|
|
||||||
|
|
||||||
namespace dxcanvas
|
namespace dxcanvas::tools
|
||||||
{
|
{
|
||||||
namespace tools
|
|
||||||
{
|
|
||||||
::basegfx::B2DPolyPolygon polyPolygonFromXPolyPolygon2D( const uno::Reference< rendering::XPolyPolygon2D >& xPoly )
|
::basegfx::B2DPolyPolygon polyPolygonFromXPolyPolygon2D( const uno::Reference< rendering::XPolyPolygon2D >& xPoly )
|
||||||
{
|
{
|
||||||
LinePolyPolygon* pPolyImpl = dynamic_cast< LinePolyPolygon* >( xPoly.get() );
|
LinePolyPolygon* pPolyImpl = dynamic_cast< LinePolyPolygon* >( xPoly.get() );
|
||||||
@@ -627,7 +625,6 @@ namespace dxcanvas
|
|||||||
o_rAttr.SetColorMatrix( &aColorMatrix );
|
o_rAttr.SetColorMatrix( &aColorMatrix );
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace tools
|
} // namespace dxcanvas::tools
|
||||||
} // namespace dxcanvas
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -54,10 +54,8 @@ namespace com::sun::star::rendering
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
namespace dxcanvas
|
namespace dxcanvas::tools
|
||||||
{
|
{
|
||||||
namespace tools
|
|
||||||
{
|
|
||||||
struct RawRGBABitmap;
|
struct RawRGBABitmap;
|
||||||
|
|
||||||
::basegfx::B2DPolyPolygon
|
::basegfx::B2DPolyPolygon
|
||||||
@@ -121,9 +119,9 @@ namespace dxcanvas
|
|||||||
double nGreenModulation,
|
double nGreenModulation,
|
||||||
double nBlueModulation,
|
double nBlueModulation,
|
||||||
double nAlphaModulation );
|
double nAlphaModulation );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_IMPLTOOLS_HXX
|
#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_IMPLTOOLS_HXX
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -33,10 +33,8 @@
|
|||||||
|
|
||||||
using namespace ::com::sun::star;
|
using namespace ::com::sun::star;
|
||||||
|
|
||||||
namespace dxcanvas
|
namespace dxcanvas::tools
|
||||||
{
|
{
|
||||||
namespace tools
|
|
||||||
{
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
/// Calc number of colors in given BitmapInfoHeader
|
/// Calc number of colors in given BitmapInfoHeader
|
||||||
@@ -462,7 +460,7 @@ namespace dxcanvas
|
|||||||
|
|
||||||
return drawVCLBitmapEx( rGraphics, aBmpEx );
|
return drawVCLBitmapEx( rGraphics, aBmpEx );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -26,10 +26,8 @@
|
|||||||
|
|
||||||
namespace Gdiplus { class Graphics; }
|
namespace Gdiplus { class Graphics; }
|
||||||
|
|
||||||
namespace dxcanvas
|
namespace dxcanvas::tools
|
||||||
{
|
{
|
||||||
namespace tools
|
|
||||||
{
|
|
||||||
/** Raw RGBA bitmap data,
|
/** Raw RGBA bitmap data,
|
||||||
contiguous in memory
|
contiguous in memory
|
||||||
*/
|
*/
|
||||||
@@ -43,9 +41,9 @@ namespace dxcanvas
|
|||||||
bool drawVCLBitmapFromXBitmap( const std::shared_ptr< Gdiplus::Graphics >& rGraphics,
|
bool drawVCLBitmapFromXBitmap( const std::shared_ptr< Gdiplus::Graphics >& rGraphics,
|
||||||
const css::uno::Reference<
|
const css::uno::Reference<
|
||||||
css::rendering::XBitmap >& xBitmap );
|
css::rendering::XBitmap >& xBitmap );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_VCLTOOLS_HXX
|
#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_VCLTOOLS_HXX
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -23,10 +23,9 @@
|
|||||||
namespace vcl { class Window; }
|
namespace vcl { class Window; }
|
||||||
class SystemChildWindow;
|
class SystemChildWindow;
|
||||||
namespace basegfx{ class B2IVector; class B2DHomMatrix; }
|
namespace basegfx{ class B2IVector; class B2DHomMatrix; }
|
||||||
namespace com::sun::star {
|
namespace com::sun::star::awt { struct Rectangle; }
|
||||||
namespace awt { struct Rectangle; }
|
namespace com::sun::star::geometry { struct AffineMatrix2D; }
|
||||||
namespace geometry { struct AffineMatrix2D; }
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace oglcanvas
|
namespace oglcanvas
|
||||||
{
|
{
|
||||||
|
@@ -13,9 +13,8 @@
|
|||||||
#include <sal/types.h>
|
#include <sal/types.h>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
namespace com::sun::star {
|
namespace com::sun::star::geometry { struct IntegerSize2D; }
|
||||||
namespace geometry { struct IntegerSize2D; }
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace oglcanvas
|
namespace oglcanvas
|
||||||
{
|
{
|
||||||
|
@@ -23,10 +23,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <basegfx/basegfxdllapi.h>
|
#include <basegfx/basegfxdllapi.h>
|
||||||
|
|
||||||
namespace basegfx
|
namespace basegfx::utils
|
||||||
{
|
{
|
||||||
namespace utils
|
|
||||||
{
|
|
||||||
/** Extract poly-polygon w/o self-intersections from poly-range
|
/** Extract poly-polygon w/o self-intersections from poly-range
|
||||||
|
|
||||||
Similar to the solveCrossovers(const B2DPolyPolygon&)
|
Similar to the solveCrossovers(const B2DPolyPolygon&)
|
||||||
@@ -36,7 +34,6 @@ namespace basegfx
|
|||||||
*/
|
*/
|
||||||
BASEGFX_DLLPUBLIC B2DPolyPolygon solveCrossovers(const std::vector<B2DRange>& rRanges,
|
BASEGFX_DLLPUBLIC B2DPolyPolygon solveCrossovers(const std::vector<B2DRange>& rRanges,
|
||||||
const std::vector<B2VectorOrientation>& rOrientations);
|
const std::vector<B2VectorOrientation>& rOrientations);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -23,10 +23,8 @@
|
|||||||
#include <canvas/canvastoolsdllapi.h>
|
#include <canvas/canvastoolsdllapi.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace canvas
|
namespace canvas::tools
|
||||||
{
|
{
|
||||||
namespace tools
|
|
||||||
{
|
|
||||||
/** Calculate elapsed time.
|
/** Calculate elapsed time.
|
||||||
|
|
||||||
This class provides several time-measurement and
|
This class provides several time-measurement and
|
||||||
@@ -158,7 +156,6 @@ namespace canvas
|
|||||||
bool m_bInHoldMode;
|
bool m_bInHoldMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* INCLUDED_CANVAS_ELAPSEDTIME_HXX */
|
#endif /* INCLUDED_CANVAS_ELAPSEDTIME_HXX */
|
||||||
|
Reference in New Issue
Block a user