discreteshadowprimitive2d.hxx (cdf0e10c) discreteshadowprimitive2d.hxx (090f0eb8)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 14 unchanged lines hidden (view full) ---

23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_QUADRATICSHADOWPRIMITIVE2D_HXX
29#define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_QUADRATICSHADOWPRIMITIVE2D_HXX
30
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 14 unchanged lines hidden (view full) ---

23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_QUADRATICSHADOWPRIMITIVE2D_HXX
29#define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_QUADRATICSHADOWPRIMITIVE2D_HXX
30
31#include <drawinglayer/drawinglayerdllapi.h>
31#include <drawinglayer/primitive2d/primitivetools2d.hxx>
32#include <vcl/bitmapex.hxx>
33#include <basegfx/matrix/b2dhommatrix.hxx>
34
35//////////////////////////////////////////////////////////////////////////////
36// DiscreteShadowPrimitive2D class
37
38namespace drawinglayer
39{
40 namespace primitive2d
41 {
42 /** DiscreteShadow data class
43
44 */
32#include <drawinglayer/primitive2d/primitivetools2d.hxx>
33#include <vcl/bitmapex.hxx>
34#include <basegfx/matrix/b2dhommatrix.hxx>
35
36//////////////////////////////////////////////////////////////////////////////
37// DiscreteShadowPrimitive2D class
38
39namespace drawinglayer
40{
41 namespace primitive2d
42 {
43 /** DiscreteShadow data class
44
45 */
45 class DiscreteShadow
46 class DRAWINGLAYER_DLLPUBLIC DiscreteShadow
46 {
47 private:
48 /// the original shadow BitmapEx in a special form
49 BitmapEx maBitmapEx;
50
51 /// buffered extracted parts of CombinedShadow for easier usage
52 BitmapEx maTopLeft;
53 BitmapEx maTop;

--- 26 unchanged lines hidden (view full) ---

80 const BitmapEx& getBottom() const;
81 const BitmapEx& getBottomLeft() const;
82 const BitmapEx& getLeft() const;
83 };
84
85 /** DiscreteShadowPrimitive2D class
86
87 */
47 {
48 private:
49 /// the original shadow BitmapEx in a special form
50 BitmapEx maBitmapEx;
51
52 /// buffered extracted parts of CombinedShadow for easier usage
53 BitmapEx maTopLeft;
54 BitmapEx maTop;

--- 26 unchanged lines hidden (view full) ---

81 const BitmapEx& getBottom() const;
82 const BitmapEx& getBottomLeft() const;
83 const BitmapEx& getLeft() const;
84 };
85
86 /** DiscreteShadowPrimitive2D class
87
88 */
88 class DiscreteShadowPrimitive2D : public DiscreteMetricDependentPrimitive2D
89 class DRAWINGLAYER_DLLPUBLIC DiscreteShadowPrimitive2D : public DiscreteMetricDependentPrimitive2D
89 {
90 private:
91 // the object transformation of the rectangular object
92 basegfx::B2DHomMatrix maTransform;
93
94 // the bitmap shadow data
95 DiscreteShadow maDiscreteShadow;
96

--- 32 unchanged lines hidden ---
90 {
91 private:
92 // the object transformation of the rectangular object
93 basegfx::B2DHomMatrix maTransform;
94
95 // the bitmap shadow data
96 DiscreteShadow maDiscreteShadow;
97

--- 32 unchanged lines hidden ---