Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
poppler
poppler
Commits
c7bcef87
Commit
c7bcef87
authored
Jul 15, 2005
by
Martin Kretzschmar
Browse files
update for 2005-06-27 change to actually display something again.
parent
6623711d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c7bcef87
2005-07-15 Martin Kretzschmar <martink@gnome.org>
* test/gtk-cairo-test.cc: update for 2005-06-27 change to actually
display something again.
2005-07-10 Brad Hards <bradh@frogmouth.net>
* poppler/ArthurOutputDev.cc: General cleanup - removing
...
...
test/gtk-cairo-test.cc
View file @
c7bcef87
...
...
@@ -39,7 +39,8 @@ public:
virtual
~
GDKCairoOutputDev
();
virtual
void
GDKCairoOutputDev
::
createCairo
(
GfxState
*
state
);
// Start a page.
virtual
void
startPage
(
int
pageNum
,
GfxState
*
state
);
//----- special access
...
...
@@ -74,14 +75,13 @@ GDKCairoOutputDev::GDKCairoOutputDev(GdkDrawable *drawableA,
redrawCbk
=
redrawCbkA
;
redrawCbkData
=
redrawCbkDataA
;
pixmap
=
NULL
;
createCairo
(
NULL
);
}
GDKCairoOutputDev
::~
GDKCairoOutputDev
()
{
}
void
GDKCairoOutputDev
::
createCairo
(
GfxState
*
state
)
{
GDKCairoOutputDev
::
startPage
(
int
pageNum
,
GfxState
*
state
)
{
Display
*
display
;
Drawable
xid
;
GdkGC
*
gc
;
...
...
@@ -116,9 +116,11 @@ GDKCairoOutputDev::createCairo(GfxState *state) {
surface
=
cairo_xlib_surface_create
(
display
,
xid
,
DefaultVisual
(
display
,
DefaultScreen
(
display
)),
w
,
h
);
cairo
=
cairo_create
(
surface
);
setSurface
(
surface
);
cairo_surface_destroy
(
surface
);
}
CairoOutputDev
::
startPage
(
pageNum
,
state
);
}
void
GDKCairoOutputDev
::
redraw
(
int
srcX
,
int
srcY
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment