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.74
[lilypond.git]
/
lily
/
symbol.cc
blob
9ba3d45f589b912f97dd16ab9f79ed3764d4ca5b
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
19
{
20
return
"symbol (
\'
"
+
tex
+
"
\'
, ("
+
dim
.
x
().
str
() +
", "
+
dim
.
y
().
str
() +
"))"
;
21
}