sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10093 - svn://svn.freehep.org/svn / freehep / cvs / aidainclude / tags / AIDA-33-BRANCH-pre-merge-1 / AIDA / ILineStyle.h
Show File - ILineStyle.h  [show properties]
Search for Help
spinner
// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_ILINESTYLE_H
#define AIDA_ILINESTYLE_H 1
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 lines (axis lines, legend box outlines, etc.)
24   *
25   * @author The AIDA team (http://aida.freehep.org/)
26   */
27 
28  class ILineStyle : virtual public IBrushStyle {
29 
30  public:
31      /// Destructor.
32      virtual ~ILineStyle() { /* nop */; }
33 
34    /**
35     * Get list of line types supported by this implementation.
36     */
37      virtual std::vector<std::string> availableLineTypes() const = 0;
38 
39    /**
40     * Get line type currently in use.
41     */
42      virtual std::string lineType() const = 0;
43 
44    /**
45     * Get current line thickness.
46     */
47      virtual int thickness() const = 0;
48 
49    /**
50     * Set current line type e.g. "dotted".
51     * @return false if line type not known to this implementation.
52     */
53      virtual bool setLineType(const std::string & newLineType) = 0;
54 
55    /**
56     * Set thickness (exact meaning is implementation-dependent,
57     * but <0 means invisible).
58     * @return false if value not supported by this implementation.
59     */
60      virtual bool setThickness(int newThickness) = 0;
61  }; // class
62  } // namespace AIDA
63  #endif /* ifndef AIDA_ILINESTYLE_H */


feed icon

sventon 2.5.1