Lines Matching refs:page

227   FPDF_PAGE page = FPDF_LoadPage(document_, page_number);  in LoadPage()  local
228 if (!page) { in LoadPage()
231 FORM_OnAfterLoadPage(page, form_handle_); in LoadPage()
232 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_OPEN); in LoadPage()
233 return page; in LoadPage()
237 FPDF_PAGE page = delegate_->GetPage(form_handle_, document_, page_number); in LoadAndCachePage() local
238 if (!page) { in LoadAndCachePage()
241 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_OPEN); in LoadAndCachePage()
242 return page; in LoadAndCachePage()
245 FPDF_BITMAP EmbedderTest::RenderPage(FPDF_PAGE page) { in RenderPage() argument
246 int width = static_cast<int>(FPDF_GetPageWidth(page)); in RenderPage()
247 int height = static_cast<int>(FPDF_GetPageHeight(page)); in RenderPage()
248 int alpha = FPDFPage_HasTransparency(page) ? 1 : 0; in RenderPage()
252 FPDF_RenderPageBitmap(bitmap, page, 0, 0, width, height, 0, 0); in RenderPage()
253 FPDF_FFLDraw(form_handle_, bitmap, page, 0, 0, width, height, 0, 0); in RenderPage()
257 void EmbedderTest::UnloadPage(FPDF_PAGE page) { in UnloadPage() argument
258 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_CLOSE); in UnloadPage()
259 FORM_OnBeforeClosePage(page, form_handle_); in UnloadPage()
260 FPDF_ClosePage(page); in UnloadPage()
270 FPDF_PAGE page = FPDF_LoadPage(document, page_index); in GetPage() local
271 if (!page) { in GetPage()
274 m_pageMap[page_index] = page; in GetPage()
275 FORM_OnAfterLoadPage(page, form_handle); in GetPage()
276 return page; in GetPage()