summaryrefslogtreecommitdiff
path: root/testing/embedder_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/embedder_test.h')
-rw-r--r--testing/embedder_test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index 2bb796d905..fd48840d28 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -101,6 +101,10 @@ class EmbedderTest : public ::testing::Test,
// Convert a loaded page into a bitmap.
virtual FPDF_BITMAP RenderPage(FPDF_PAGE page);
+ // Convert a loaded page into a bitmap with page rendering flags specified.
+ // See public/fpdfview.h for a list of page rendering flags.
+ virtual FPDF_BITMAP RenderPageWithFlags(FPDF_PAGE page, int flags);
+
// Relese the resources obtained from LoadPage(). Further use of |page|
// is prohibited after this call is made.
virtual void UnloadPage(FPDF_PAGE page);