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
11
class
QPainter;
12
13
namespace
LC
14
{
15
namespace
Monocle
16
{
25
class
ISupportPainting
26
{
27
public
:
28
virtual
~ISupportPainting
() {}
29
39
virtual
void
PaintPage
(QPainter *painter,
int
page,
double
xScale,
double
yScale) = 0;
40
};
41
}
42
}
43
44
Q_DECLARE_INTERFACE (
LC::Monocle::ISupportPainting
,
45
"org.LeechCraft.Monocle.ISupportPainting/1.0"
)
LC::Monocle::ISupportPainting
Interface for documents supporting optimized painting.
Definition
isupportpainting.h:26
LC::Monocle::ISupportPainting::PaintPage
virtual void PaintPage(QPainter *painter, int page, double xScale, double yScale)=0
Paints a given page to the given painter.
LC::Monocle::ISupportPainting::~ISupportPainting
virtual ~ISupportPainting()
Definition
isupportpainting.h:28
LC::Monocle
Definition
iannotation.h:23
LC
Definition
iannotation.h:21
src
plugins
monocle
interfaces
monocle
isupportpainting.h
Generated by
1.13.1