1*ebfcd9afSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*ebfcd9afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*ebfcd9afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*ebfcd9afSAndrew Rist * distributed with this work for additional information 6*ebfcd9afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*ebfcd9afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*ebfcd9afSAndrew Rist * "License"); you may not use this file except in compliance 9*ebfcd9afSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*ebfcd9afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*ebfcd9afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*ebfcd9afSAndrew Rist * software distributed under the License is distributed on an 15*ebfcd9afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*ebfcd9afSAndrew Rist * KIND, either express or implied. See the License for the 17*ebfcd9afSAndrew Rist * specific language governing permissions and limitations 18*ebfcd9afSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*ebfcd9afSAndrew Rist *************************************************************/ 21*ebfcd9afSAndrew Rist 22*ebfcd9afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _SV_SALCOLORUTILS_HXX 25cdf0e10cSrcweir #define _SV_SALCOLORUTILS_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #ifndef _LIMITS_H 28cdf0e10cSrcweir #include <limits.h> 29cdf0e10cSrcweir #endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir #include "premac.h" 32cdf0e10cSrcweir #include <ApplicationServices/ApplicationServices.h> 33cdf0e10cSrcweir #include "postmac.h" 34cdf0e10cSrcweir 35cdf0e10cSrcweir #include "vcl/salbtype.hxx" 36cdf0e10cSrcweir #include "vcl/salgtype.hxx" 37cdf0e10cSrcweir #include "salconst.h" 38cdf0e10cSrcweir #include "salmathutils.hxx" 39cdf0e10cSrcweir 40cdf0e10cSrcweir // ------------------------------------------------------------------ 41cdf0e10cSrcweir 42cdf0e10cSrcweir SalColor GetSalColor( const float* pQuartzColor ); 43cdf0e10cSrcweir 44cdf0e10cSrcweir void SetSalColor( const SalColor& rColor, float* pQuartzColor ); 45cdf0e10cSrcweir 46cdf0e10cSrcweir // ------------------------------------------------------------------ 47cdf0e10cSrcweir 48cdf0e10cSrcweir #endif // _SV_SALCOLORUTILS_HXX 49