summaryrefslogtreecommitdiff
path: root/item.cc
blob: f10187bbb2cffc5dcee9731432c9acc646a8a170 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "line.hh"
#include "symbol.hh"
#include "molecule.hh"
#include "pcol.hh"

void
Item::postprocess()
{
    // default: do nothing
}


void
Item::preprocess()
{
    // default: do nothing
}

String
Item::TeXstring() const
{
    return output->TeXstring();
}

Interval
Item::width() const
{
    return output->extent().x;
}

Interval
Item::height() const
{
    return output->extent().y;
}

Item::~Item()
{
    delete output;
}

Item::Item()
{
    col = 0;
    output = 0;
    pstaff_ = 0;
}
void
Item::print() const
{
    output->print();
}