fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / view / axes / VPolarRadiusAxis.hxx
blob81aec8928a04cd1d2498e1d9f4994ef3c3c4ec5c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_CHART2_SOURCE_VIEW_AXES_VPOLARRADIUSAXIS_HXX
20 #define INCLUDED_CHART2_SOURCE_VIEW_AXES_VPOLARRADIUSAXIS_HXX
22 #include "VPolarAxis.hxx"
23 #include <boost/scoped_ptr.hpp>
25 namespace chart
28 /**
31 class VCartesianAxis;
33 class VPolarRadiusAxis : public VPolarAxis
35 public:
36 VPolarRadiusAxis( const AxisProperties& rAxisProperties
37 , const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xNumberFormatsSupplier
38 , sal_Int32 nDimensionCount );
39 virtual ~VPolarRadiusAxis();
41 virtual void initPlotter(
42 const ::com::sun::star::uno::Reference<
43 ::com::sun::star::drawing::XShapes >& xLogicTarget
44 , const ::com::sun::star::uno::Reference<
45 ::com::sun::star::drawing::XShapes >& xFinalTarget
46 , const ::com::sun::star::uno::Reference<
47 ::com::sun::star::lang::XMultiServiceFactory >& xFactory
48 , const OUString& rCID
49 ) throw (::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE;
51 virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix ) SAL_OVERRIDE;
53 virtual void setScales( const ::std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis ) SAL_OVERRIDE;
55 virtual void setExplicitScaleAndIncrement(
56 const ExplicitScaleData& rScale
57 , const ExplicitIncrementData& rIncrement )
58 throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
60 virtual void initAxisLabelProperties(
61 const ::com::sun::star::awt::Size& rFontReferenceSize
62 , const ::com::sun::star::awt::Rectangle& rMaximumSpaceForLabels ) SAL_OVERRIDE;
64 virtual sal_Int32 estimateMaximumAutoMainIncrementCount() SAL_OVERRIDE;
66 virtual void createMaximumLabels() SAL_OVERRIDE;
67 virtual void createLabels() SAL_OVERRIDE;
68 virtual void updatePositions() SAL_OVERRIDE;
70 virtual void createShapes() SAL_OVERRIDE;
72 protected: //methods
73 virtual bool prepareShapeCreation() SAL_OVERRIDE;
75 private: //member
76 boost::scoped_ptr<VCartesianAxis> m_apAxisWithLabels;
79 } //namespace chart
80 #endif
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */