aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/renderhelpers.hpp
blob: 521ba922cee37a5ec3f25e8b6a08df4c1b8da726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RENDERHELPERS_HPP
#define RENDERHELPERS_HPP

#include <QByteArray>
#include <QTextCursor>
#include <QTextDocument>

namespace renderhelpers
{
    void renderEscapeCodes(const QByteArray &input, const QTextCharFormat& format, QTextCursor& cursor);

    void setPageMargins(QTextDocument *doc, int mh, int mv);
}

#endif