xref: /aosp_15_r20/external/pdfium/samples/helpers/page_renderer.cc (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1*3ac0a46fSAndroid Build Coastguard Worker // Copyright 2023 The PDFium Authors
2*3ac0a46fSAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
3*3ac0a46fSAndroid Build Coastguard Worker // found in the LICENSE file.
4*3ac0a46fSAndroid Build Coastguard Worker 
5*3ac0a46fSAndroid Build Coastguard Worker #include "samples/helpers/page_renderer.h"
6*3ac0a46fSAndroid Build Coastguard Worker 
7*3ac0a46fSAndroid Build Coastguard Worker #include "public/fpdfview.h"
8*3ac0a46fSAndroid Build Coastguard Worker 
PageRenderer(FPDF_PAGE page,int width,int height,int flags)9*3ac0a46fSAndroid Build Coastguard Worker PageRenderer::PageRenderer(FPDF_PAGE page, int width, int height, int flags)
10*3ac0a46fSAndroid Build Coastguard Worker     : page_(page), width_(width), height_(height), flags_(flags) {}
11*3ac0a46fSAndroid Build Coastguard Worker 
12*3ac0a46fSAndroid Build Coastguard Worker PageRenderer::~PageRenderer() = default;
13*3ac0a46fSAndroid Build Coastguard Worker 
Continue()14*3ac0a46fSAndroid Build Coastguard Worker bool PageRenderer::Continue() {
15*3ac0a46fSAndroid Build Coastguard Worker   return false;
16*3ac0a46fSAndroid Build Coastguard Worker }
17