repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.3.8
[lilypond.git]
/
src
/
symbol.cc
blob
becdf1e29f63862f2f73a7a6daf7c79b16ccf921
1
#include
"symbol.hh"
2
#include
"varray.hh"
3
4
5
Symbol
::
Symbol
()
6
:
dim
(
Interval
(
0
,
0
),
Interval
(
0
,
0
))
7
{
8
tex
=
"
\\
unknown"
;
9
}
10
Symbol
::
Symbol
(
String s
,
Box b
)
11
:
dim
(
b
)
12
{
13
tex
=
s
;
14
}
15
16
17
String
18
Symbol
::
str
()
const
return
s
;
19
{
20
s
=
"symbol(
\'
"
+
tex
+
"
\'
, ("
+
dim
.
x
.
str
() +
", "
+
dim
.
y
.
str
() +
"))"
;
21
}