This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef AIDA_ITEXTSTYLE_H 00008 #define AIDA_ITEXTSTYLE_H 1 00009 00010 // This file is part of the AIDA library 00011 // Copyright (C) 2002 by the AIDA team. All rights reserved. 00012 // This library is free software and under the terms of the 00013 // GNU Library General Public License described in the LGPL.txt 00014 00015 #include <string> 00016 #include <vector> 00017 00018 #include "AIDA/IBrushStyle.h" 00019 00020 namespace AIDA { 00021 00028 class ITextStyle : virtual public IBrushStyle { 00029 00030 public: 00032 virtual ~ITextStyle() { /* nop */; } 00033 00037 virtual std::vector<std::string> availableFonts() const = 0; 00038 00042 virtual double fontSize() const = 0; 00043 00048 virtual bool setFontSize(double size) = 0; 00049 00053 virtual std::string font() const = 0; 00054 00059 virtual bool setFont(const std::string & font) = 0; 00060 00061 virtual bool isBold() const = 0; 00062 00063 virtual bool isItalic() const = 0; 00064 00065 virtual bool isUnderlined() const = 0; 00066 00067 virtual bool setBold(bool bold = true) = 0; 00068 00069 virtual bool setItalic(bool italic = true) = 0; 00070 00071 virtual bool setUnderlined(bool underlined = true) = 0; 00072 }; // class 00073 }; // namespace AIDA 00074 #endif /* ifndef AIDA_ITEXTSTYLE_H */