LibreOffice Module drawinglayer (master) 1
hatchtextureprimitive3d.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#pragma once
21
24
25
27 {
36 {
39
42
45
48
49 public:
53 const Primitive3DContainer& rChildren,
54 const basegfx::B2DVector& rTextureSize,
55 bool bModulate,
56 bool bFilter);
57
60
62 virtual bool operator==(const BasePrimitive3D& rPrimitive) const override;
63
65 virtual Primitive3DContainer get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const override;
66
69 };
70
71} // end of namespace drawinglayer::primitive3d
72
73
74/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define DeclPrimitive3DIDBlock()
defines for DeclPrimitive3DIDBlock and ImplPrimitive3DIDBlock Added to be able to simply change ident...
virtual Primitive3DContainer get3DDecomposition(const geometry::ViewInformation3D &rViewInformation) const override
local decomposition.
attribute::FillHatchAttribute maHatch
the hatch definition
const Primitive3DContainer & getBuffered3DDecomposition() const
local access methods to maBufferedDecomposition
Primitive3DContainer maBuffered3DDecomposition
the buffered decomposed hatch
HatchTexturePrimitive3D(attribute::FillHatchAttribute aHatch, const Primitive3DContainer &rChildren, const basegfx::B2DVector &rTextureSize, bool bModulate, bool bFilter)
constructor
const attribute::FillHatchAttribute & getHatch() const
data read access
Primitive3DContainer impCreate3DDecomposition() const
helper: local decomposition
virtual bool operator==(const BasePrimitive3D &rPrimitive) const override
compare operator
SdrPrimitive3D class.