Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XLFDParser.h
Go to the documentation of this file.
1// @(#)root/graf2d:$Id$
2// Author: Timur Pocheptsov 2/03/2012
3
4/*************************************************************************
5 * Copyright (C) 1995-2012, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_XLFDParser
13#define ROOT_XLFDParser
14
15#include <string>
16
17////////////////////////////////////////////////////////////////////////
18// //
19// XLDF parser, very simple implementation, used by GUI only. //
20// //
21////////////////////////////////////////////////////////////////////////
22
23namespace ROOT {
24namespace MacOSX {
25namespace X11 {//X11 emulation.
26
28 kFSAny, //For '*' wildcard in xlfd string.
31};
32
34 kFWAny, //For '*' wildcard in xlfd string.
37};
38
39struct XLFDName {
40 XLFDName();
41 //foundry *
42 std::string fFamilyName;
45 //width *
46 //addstyle *
47 unsigned fPixelSize;
48 //points *
49 //horiz *
50 //vert *
51 //spacing *
52 //avgwidth *
53 std::string fRgstry;
54 std::string fEncoding;
55};
56
57bool ParseXLFDName(const std::string &xlfdName, XLFDName &dst);
58
59}//X11
60}//MacOSX
61}//ROOT
62
63#endif
bool ParseXLFDName(const std::string &xlfdName, XLFDName &dst)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...