#include <ipepdfview_win.h>
Inherits QWidget, and ipe::PdfViewBase.
|
| PdfView (QWidget *parent, Qt::WindowFlags f=nullptr) |
|
virtual void | invalidate () |
|
virtual void | invalidate (int x, int y, int w, int h) |
|
| PdfView (HWND parent, HWND target, int screen, HINSTANCE hInstance=nullptr) |
|
HWND | windowId () const |
|
virtual | ~PdfViewBase () |
|
void | setPdf (const PdfFile *pdf, Fonts *fonts) |
|
void | setPage (const PdfDict *page, const Rect &paper) |
|
void | setBackground (const Color &bg) |
|
void | setBlackout (bool bo) |
|
Vector | pan () const |
|
double | zoom () const |
|
Vector | center () const |
|
int | viewWidth () const |
|
int | viewHeight () const |
|
bool | blackout () const |
|
Vector | devToUser (const Vector &arg) const |
|
Vector | userToDev (const Vector &arg) const |
|
void | setPan (const Vector &v) |
|
void | setZoom (double zoom) |
|
Matrix | canvasTfm () const |
|
void | updatePdf () |
|
virtual void | invalidate (int x, int y, int w, int h)=0 |
|
virtual void | invalidate ()=0 |
|
|
static void | init (HINSTANCE hInstance) |
|
◆ PdfView() [1/2]
PdfView::PdfView |
( |
QWidget * |
parent, |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ PdfView() [2/2]
PdfView::PdfView |
( |
HWND |
parent, |
|
|
HWND |
target, |
|
|
int |
screen, |
|
|
HINSTANCE |
hInstance = nullptr |
|
) |
| |
◆ invalidate() [1/2]
virtual void ipe::PdfView::invalidate |
( |
| ) |
|
|
virtual |
◆ invalidate() [2/2]
virtual void ipe::PdfView::invalidate |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
virtual |
◆ sizeChanged
void ipe::PdfView::sizeChanged |
( |
| ) |
|
|
signal |
◆ mouseButton
void ipe::PdfView::mouseButton |
( |
int |
, |
|
|
Vector |
|
|
) |
| |
|
signal |
◆ paintEvent()
void PdfView::paintEvent |
( |
QPaintEvent * |
ev | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void PdfView::mousePressEvent |
( |
QMouseEvent * |
ev | ) |
|
|
protectedvirtual |
◆ sizeHint()
QSize PdfView::sizeHint |
( |
| ) |
const |
|
protectedvirtual |
◆ init()
void PdfView::init |
( |
HINSTANCE |
hInstance | ) |
|
|
static |
◆ windowId()
HWND ipe::PdfView::windowId |
( |
| ) |
const |
|
inline |
◆ WM_PDFVIEW
constexpr int ipe::PdfView::WM_PDFVIEW = 0x8000 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- ipepdfview_qt.h
- ipepdfview_win.h
- ipepdfview_qt.cpp
- ipepdfview_win.cpp