1*4bfbcde8SAndrew Rist /************************************************************** 2*4bfbcde8SAndrew Rist * 3*4bfbcde8SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*4bfbcde8SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*4bfbcde8SAndrew Rist * distributed with this work for additional information 6*4bfbcde8SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*4bfbcde8SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*4bfbcde8SAndrew Rist * "License"); you may not use this file except in compliance 9*4bfbcde8SAndrew Rist * with the License. You may obtain a copy of the License at 10*4bfbcde8SAndrew Rist * 11*4bfbcde8SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*4bfbcde8SAndrew Rist * 13*4bfbcde8SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*4bfbcde8SAndrew Rist * software distributed under the License is distributed on an 15*4bfbcde8SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*4bfbcde8SAndrew Rist * KIND, either express or implied. See the License for the 17*4bfbcde8SAndrew Rist * specific language governing permissions and limitations 18*4bfbcde8SAndrew Rist * under the License. 19*4bfbcde8SAndrew Rist * 20*4bfbcde8SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir #ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS2D_HXX 23cdf0e10cSrcweir #define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS2D_HXX 24cdf0e10cSrcweir 25090f0eb8SEike Rathke #include <drawinglayer/drawinglayerdllapi.h> 26cdf0e10cSrcweir #include <drawinglayer/primitive2d/baseprimitive2d.hxx> 27cdf0e10cSrcweir 28cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 29cdf0e10cSrcweir // predefines 30cdf0e10cSrcweir 31cdf0e10cSrcweir namespace basegfx { 32cdf0e10cSrcweir class B2DPolyPolygon; 33cdf0e10cSrcweir class B2DHomMatrix; 34cdf0e10cSrcweir } 35cdf0e10cSrcweir 36cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 37cdf0e10cSrcweir 38cdf0e10cSrcweir namespace drawinglayer 39cdf0e10cSrcweir { 40cdf0e10cSrcweir namespace primitive2d 41cdf0e10cSrcweir { 42cdf0e10cSrcweir // helpers to create HitTestPrimitives Line 43090f0eb8SEike Rathke Primitive2DReference DRAWINGLAYER_DLLPUBLIC createHiddenGeometryPrimitives2D( 44cdf0e10cSrcweir bool bFilled, 45cdf0e10cSrcweir const basegfx::B2DHomMatrix& rMatrix); 46cdf0e10cSrcweir 47090f0eb8SEike Rathke Primitive2DReference DRAWINGLAYER_DLLPUBLIC createHiddenGeometryPrimitives2D( 48cdf0e10cSrcweir bool bFilled, 49cdf0e10cSrcweir const basegfx::B2DPolyPolygon& rPolygon); 50cdf0e10cSrcweir 51090f0eb8SEike Rathke Primitive2DReference DRAWINGLAYER_DLLPUBLIC createHiddenGeometryPrimitives2D( 52cdf0e10cSrcweir bool bFilled, 53cdf0e10cSrcweir const basegfx::B2DRange& rRange); 54cdf0e10cSrcweir 55090f0eb8SEike Rathke Primitive2DReference DRAWINGLAYER_DLLPUBLIC createHiddenGeometryPrimitives2D( 56cdf0e10cSrcweir bool bFilled, 57cdf0e10cSrcweir const basegfx::B2DRange& rRange, 58cdf0e10cSrcweir const basegfx::B2DHomMatrix& rMatrix); 59cdf0e10cSrcweir 60090f0eb8SEike Rathke Primitive2DReference DRAWINGLAYER_DLLPUBLIC createHiddenGeometryPrimitives2D( 61cdf0e10cSrcweir bool bFilled, 62cdf0e10cSrcweir const basegfx::B2DPolyPolygon& rPolygon, 63cdf0e10cSrcweir const basegfx::B2DHomMatrix& rMatrix); 64cdf0e10cSrcweir 65cdf0e10cSrcweir } // end of namespace primitive2d 66cdf0e10cSrcweir } // end of namespace drawinglayer 67cdf0e10cSrcweir 68cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 69cdf0e10cSrcweir 70cdf0e10cSrcweir #endif //INCLUDED_DRAWINGLAYER_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS2D_HXX 71cdf0e10cSrcweir 72cdf0e10cSrcweir // eof 73