diff options
-rw-r--r-- | core/include/fxcrt/fx_basic.h | 1 | ||||
-rw-r--r-- | core/src/fxge/agg/include/fx_agg_driver.h | 9 |
2 files changed, 4 insertions, 6 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index 6e7fbb4555..ef5b204049 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -1093,7 +1093,6 @@ typedef enum { Done } FX_ProgressiveStatus; #define ProgressiveStatus FX_ProgressiveStatus -#define FX_NAMESPACE_DECLARE(namespace, type) namespace ::type class CFX_Vector_3by1 { public: diff --git a/core/src/fxge/agg/include/fx_agg_driver.h b/core/src/fxge/agg/include/fx_agg_driver.h index 80febe1b4e..71569749fb 100644 --- a/core/src/fxge/agg/include/fx_agg_driver.h +++ b/core/src/fxge/agg/include/fx_agg_driver.h @@ -19,9 +19,10 @@ class CAgg_PathData { public: CAgg_PathData() {} ~CAgg_PathData() {} - FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData; void BuildPath(const CFX_PathData* pPathData, const CFX_Matrix* pObject2Device); + + agg::path_storage m_PathData; }; class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { public: @@ -122,16 +123,14 @@ class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { void* pIccTransform) override; int GetDriverType() override { return 1; } - FX_BOOL RenderRasterizer(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) & - rasterizer, + FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bGroupKnockout, int alpha_flag, void* pIccTransform); - void SetClipMask(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) & - rasterizer); + void SetClipMask(agg::rasterizer_scanline_aa& rasterizer); virtual uint8_t* GetBuffer() const { return m_pBitmap->GetBuffer(); } |