13334a7e6SAndrew Rist /************************************************************** 2*b5697104Smseidel * 33334a7e6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 43334a7e6SAndrew Rist * or more contributor license agreements. See the NOTICE file 53334a7e6SAndrew Rist * distributed with this work for additional information 63334a7e6SAndrew Rist * regarding copyright ownership. The ASF licenses this file 73334a7e6SAndrew Rist * to you under the Apache License, Version 2.0 (the 83334a7e6SAndrew Rist * "License"); you may not use this file except in compliance 93334a7e6SAndrew Rist * with the License. You may obtain a copy of the License at 10*b5697104Smseidel * 113334a7e6SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*b5697104Smseidel * 133334a7e6SAndrew Rist * Unless required by applicable law or agreed to in writing, 143334a7e6SAndrew Rist * software distributed under the License is distributed on an 153334a7e6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 163334a7e6SAndrew Rist * KIND, either express or implied. See the License for the 173334a7e6SAndrew Rist * specific language governing permissions and limitations 183334a7e6SAndrew Rist * under the License. 19*b5697104Smseidel * 203334a7e6SAndrew Rist *************************************************************/ 213334a7e6SAndrew Rist 223334a7e6SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef INCLUDED_SDR_PRIMITIVE2D_PRIMITIVETOOLS_HXX 25cdf0e10cSrcweir #define INCLUDED_SDR_PRIMITIVE2D_PRIMITIVETOOLS_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <vcl/bitmapex.hxx> 28cdf0e10cSrcweir #include <drawinglayer/primitive2d/baseprimitive2d.hxx> 29cdf0e10cSrcweir 30cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 31cdf0e10cSrcweir // predefines 32cdf0e10cSrcweir 33*b5697104Smseidel namespace basegfx { 34*b5697104Smseidel class BColor; 35cdf0e10cSrcweir } 36cdf0e10cSrcweir 37cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 38cdf0e10cSrcweir // helper methods 39cdf0e10cSrcweir 40cdf0e10cSrcweir namespace drawinglayer 41cdf0e10cSrcweir { 42cdf0e10cSrcweir namespace primitive2d 43cdf0e10cSrcweir { 44cdf0e10cSrcweir // create a 3x3 cross in given color as BitmapEx 45cdf0e10cSrcweir BitmapEx createDefaultCross_3x3(const basegfx::BColor& rBColor); 46cdf0e10cSrcweir 47*b5697104Smseidel // create a 9x9 gluepoint symbol in given colors as BitmapEx 48*b5697104Smseidel BitmapEx createDefaultGluepoint_9x9(const basegfx::BColor& rBColorA, const basegfx::BColor& rBColorB); 49*b5697104Smseidel } // end of namespace primitive2d 50cdf0e10cSrcweir } // end of namespace drawinglayer 51cdf0e10cSrcweir 52cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 53cdf0e10cSrcweir 54cdf0e10cSrcweir #endif //INCLUDED_SDR_PRIMITIVE2D_PRIMITIVETOOLS_HXX 55cdf0e10cSrcweir 56cdf0e10cSrcweir // eof 57