diff options
Diffstat (limited to 'basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx')
-rw-r--r-- | basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx index 1f56a14c1842..e43a9a57c5bb 100644 --- a/basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx +++ b/basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,7 +46,7 @@ namespace basegfx derive from this, and override the span() method, which will get called for every scanline span of the poly-polygon. - @derive + @derive Overwrite span() with the render output method of your choice. */ class B2DPolyPolygonRasterConverter @@ -74,7 +74,7 @@ namespace basegfx area might also be larger. */ B2DPolyPolygonRasterConverter(const B2DPolyPolygon& rPolyPolyRaster, - const B2DRectangle& rRasterArea ); + const B2DRectangle& rRasterArea ); virtual ~B2DPolyPolygonRasterConverter(); @@ -90,7 +90,7 @@ namespace basegfx @param rfXLeft The left end of the current horizontal span - + @param rfXRight The right end of the current horizontal span @@ -103,8 +103,8 @@ namespace basegfx */ virtual void span(const double& rfXLeft, const double& rfXRight, - sal_Int32 nY, - bool bOn ) = 0; + sal_Int32 nY, + bool bOn ) = 0; /// @internal struct Vertex @@ -112,9 +112,9 @@ namespace basegfx inline Vertex(); inline Vertex( const B2DPoint&, const B2DPoint&, bool ); - B2DPoint aP1; - B2DPoint aP2; - bool bDownwards; + B2DPoint aP1; + B2DPoint aP2; + bool bDownwards; }; private: @@ -124,18 +124,18 @@ namespace basegfx void init(); - typedef ::std::vector<Vertex> VectorOfVertices; - typedef ::std::vector<VectorOfVertices> VectorOfVertexVectors; + typedef ::std::vector<Vertex> VectorOfVertices; + typedef ::std::vector<VectorOfVertices> VectorOfVertexVectors; /// The poly-polygon to raster-convert - B2DPolyPolygon maPolyPolygon; + B2DPolyPolygon maPolyPolygon; /// Total bound rect of the poly-polygon - const B2DRectangle maPolyPolyRectangle; + const B2DRectangle maPolyPolyRectangle; /** Vector containing for each scanline a vector which in turn contains all vertices that start on the specific scanline */ - VectorOfVertexVectors maScanlines; + VectorOfVertexVectors maScanlines; }; } |