Lines Matching refs:page
21 typedef void* FPDF_PAGEOBJECT; // Page object(text, path, etc)
82 /** @brief Rectangle area(float) in device or page coordination system. */
230 #define FPDF_ERR_PAGE 6 // Page not found or content error.
264 // Load a page inside a document.
267 // page_index - Index number of the page. 0 for the first page.
269 // A handle to the loaded page. If failed, NULL is returned.
271 // Loaded page can be rendered to devices using FPDF_RenderPage function.
272 // Loaded page can be closed by FPDF_ClosePage.
277 // Get page width.
279 // page - Handle to the page. Returned by FPDF_LoadPage function.
281 // Page width (excluding non-displayable area) measured in points.
284 DLLEXPORT double STDCALL FPDF_GetPageWidth(FPDF_PAGE page);
287 // Get page height.
289 // page - Handle to the page. Returned by FPDF_LoadPage function.
291 // Page height (excluding non-displayable area) measured in points.
294 DLLEXPORT double STDCALL FPDF_GetPageHeight(FPDF_PAGE page);
297 // Get the size of a page by index.
300 // page_index - Page index, zero for the first page.
301 // width - Pointer to a double value receiving the page width (in points).
302 // height - Pointer to a double value receiving the page height (in points).
304 // Non-zero for success. 0 for error (document or page not found).
309 // Page rendering flags. They can be combined with bit OR.
324 // Render contents in a page to a device (screen, bitmap, or printer).
328 // page - Handle to the page. Returned by FPDF_LoadPage function.
331 // size_x - Horizontal size (in pixels) for displaying the page.
332 // size_y - Vertical size (in pixels) for displaying the page.
333 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),
339 DLLEXPORT void STDCALL FPDF_RenderPage(HDC dc, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y,
344 // Render contents in a page to a device independent bitmap
348 // page - Handle to the page. Returned by FPDF_LoadPage function.
351 // size_x - Horizontal size (in pixels) for displaying the page.
352 // size_y - Vertical size (in pixels) for displaying the page.
353 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),
359 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y,
363 // Close a loaded PDF page.
365 // page - Handle to the loaded page.
369 DLLEXPORT void STDCALL FPDF_ClosePage(FPDF_PAGE page);
381 // Convert the screen coordinate of a point to page coordinate.
383 // page - Handle to the page. Returned by FPDF_LoadPage function.
386 // size_x - Horizontal size (in pixels) for displaying the page.
387 // size_y - Vertical size (in pixels) for displaying the page.
388 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),
392 // page_x - A Pointer to a double receiving the converted X value in page coordinate.
393 // page_y - A Pointer to a double receiving the converted Y value in page coordinate.
397 // The page coordinate system has its origin at left-bottom corner of the page, with X axis goes along
399 // can be altered when you zoom, scroll, or rotate a page, however, a point on the page should always have
400 // the same coordinate values in the page coordinate system.
407 DLLEXPORT void STDCALL FPDF_DeviceToPage(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y,
411 // Convert the page coordinate of a point to screen coordinate.
413 // page - Handle to the page. Returned by FPDF_LoadPage function.
416 // size_x - Horizontal size (in pixels) for displaying the page.
417 // size_y - Vertical size (in pixels) for displaying the page.
418 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),
420 // page_x - X value in page coordinate, for the point to be converted.
421 // page_y - Y value in page coordinate, for the point to be converted.
429 DLLEXPORT void STDCALL FPDF_PageToDevice(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y,