1 |
// -*- C++ -*- |
2 |
// AID-GENERATED |
3 |
// ========================================================================= |
4 |
// This class was generated by AID - Abstract Interface Definition |
5 |
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. |
6 |
// ========================================================================= |
7 |
#ifndef AIDA_IFILLSTYLE_H |
8 |
#define AIDA_IFILLSTYLE_H 1 |
9 |
|
10 |
// This file is part of the AIDA library |
11 |
// Copyright (C) 2002 by the AIDA team. All rights reserved. |
12 |
// This library is free software and under the terms of the |
13 |
// GNU Library General Public License described in the LGPL.txt |
14 |
|
15 |
#include <string> |
16 |
#include <vector> |
17 |
|
18 |
#include "AIDA/IBrushStyle.h" |
19 |
|
20 |
namespace AIDA { |
21 |
|
22 |
/** |
23 |
* Style for all filled areas (boxes, regions, histograms, etc.) |
24 |
* |
25 |
* @author The AIDA team (http://aida.freehep.org/) |
26 |
*/ |
27 |
|
28 |
class IFillStyle : virtual public IBrushStyle { |
29 |
|
30 |
public: |
31 |
/// Destructor. |
32 |
virtual ~IFillStyle() { /* nop */; } |
33 |
|
34 |
/** |
35 |
* Get a list of patterns available in this implementation. |
36 |
*/ |
37 |
virtual std::vector<std::string> availablePatterns() const = 0; |
38 |
|
39 |
/** |
40 |
* Get name of current pattern. |
41 |
*/ |
42 |
virtual std::string pattern() const = 0; |
43 |
|
44 |
/** |
45 |
* Set current pattern, e.g. "crossHatch", "solid". |
46 |
* @return false if pattern not known to this implementation. |
47 |
*/ |
48 |
virtual bool setPattern(const std::string & pattern) = 0; |
49 |
}; // class |
50 |
} // namespace AIDA |
51 |
#endif /* ifndef AIDA_IFILLSTYLE_H */ |