1*4f506f19SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*4f506f19SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*4f506f19SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*4f506f19SAndrew Rist * distributed with this work for additional information 6*4f506f19SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*4f506f19SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*4f506f19SAndrew Rist * "License"); you may not use this file except in compliance 9*4f506f19SAndrew Rist * with the License. You may obtain a copy of the License at 10*4f506f19SAndrew Rist * 11*4f506f19SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*4f506f19SAndrew Rist * 13*4f506f19SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*4f506f19SAndrew Rist * software distributed under the License is distributed on an 15*4f506f19SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*4f506f19SAndrew Rist * KIND, either express or implied. See the License for the 17*4f506f19SAndrew Rist * specific language governing permissions and limitations 18*4f506f19SAndrew Rist * under the License. 19*4f506f19SAndrew Rist * 20*4f506f19SAndrew Rist *************************************************************/ 21*4f506f19SAndrew Rist 22*4f506f19SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef INCLUDED_DRAWINGLAYER_PROCESSOR2D_HELPERWRONGSPELLRENDER_HXX 25cdf0e10cSrcweir #define INCLUDED_DRAWINGLAYER_PROCESSOR2D_HELPERWRONGSPELLRENDER_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <sal/types.h> 28cdf0e10cSrcweir 29cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 30cdf0e10cSrcweir // predefines 31cdf0e10cSrcweir 32cdf0e10cSrcweir class OutputDevice; 33cdf0e10cSrcweir 34cdf0e10cSrcweir namespace drawinglayer { namespace primitive2d { 35cdf0e10cSrcweir class WrongSpellPrimitive2D; 36cdf0e10cSrcweir }} 37cdf0e10cSrcweir 38cdf0e10cSrcweir namespace basegfx { 39cdf0e10cSrcweir class B2DHomMatrix; 40cdf0e10cSrcweir class BColorModifierStack; 41cdf0e10cSrcweir } 42cdf0e10cSrcweir 43cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 44cdf0e10cSrcweir // support WrongSpell rendreing using VCL from primitives due to VCLs nice 45cdf0e10cSrcweir // and fast solution with wavelines 46cdf0e10cSrcweir 47cdf0e10cSrcweir namespace drawinglayer 48cdf0e10cSrcweir { 49cdf0e10cSrcweir bool renderWrongSpellPrimitive2D( 50cdf0e10cSrcweir const primitive2d::WrongSpellPrimitive2D& rWrongSpellCandidate, 51cdf0e10cSrcweir OutputDevice& rOutputDevice, 52cdf0e10cSrcweir const basegfx::B2DHomMatrix& rObjectToViewTransformation, 53cdf0e10cSrcweir const basegfx::BColorModifierStack& rBColorModifierStack); 54cdf0e10cSrcweir 55cdf0e10cSrcweir } // end of namespace drawinglayer 56cdf0e10cSrcweir 57cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 58cdf0e10cSrcweir 59cdf0e10cSrcweir #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_HELPERWRONGSPELLRENDER_HXX 60cdf0e10cSrcweir 61cdf0e10cSrcweir // eof 62