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