LeechCraft Monocle 0.6.70-16373-g319c272718
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
isupportpainting.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11class QPainter;
12
13namespace LC
14{
15namespace Monocle
16{
26 {
27 public:
28 virtual ~ISupportPainting () {}
29
39 virtual void PaintPage (QPainter *painter, int page, double xScale, double yScale) = 0;
40 };
41}
42}
43
44Q_DECLARE_INTERFACE (LC::Monocle::ISupportPainting,
45 "org.LeechCraft.Monocle.ISupportPainting/1.0")
Interface for documents supporting optimized painting.
virtual void PaintPage(QPainter *painter, int page, double xScale, double yScale)=0
Paints a given page to the given painter.