"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf-qt/XpdfWidget.h" between
xpdf-4.03.tar.gz and xpdf-4.04.tar.gz

About: Xpdf is a PDF viewer for X.

XpdfWidget.h  (xpdf-4.03):XpdfWidget.h  (xpdf-4.04)
skipping to change at line 15 skipping to change at line 15
// Copyright 2009-2021 Glyph & Cog, LLC // Copyright 2009-2021 Glyph & Cog, LLC
// //
//======================================================================== //========================================================================
//! \mainpage //! \mainpage
//! //!
//! XpdfWidget is a PDF viewer widget class for Qt. //! XpdfWidget is a PDF viewer widget class for Qt.
//! <br><br> //! <br><br>
//! <a href="changes.html">Change history</a> //! <a href="changes.html">Change history</a>
//! <br><br> //! <br><br>
//! Copyright 2009-2021 Glyph & Cog, LLC //! Copyright 2009-2022 Glyph & Cog, LLC
//! \file //! \file
#ifndef XPDFWIDGET_H #ifndef XPDFWIDGET_H
#define XPDFWIDGET_H #define XPDFWIDGET_H
#include <aconf.h> #include <aconf.h>
#ifdef USE_GCC_PRAGMAS #ifdef USE_GCC_PRAGMAS
#pragma interface #pragma interface
skipping to change at line 641 skipping to change at line 641
//! Set the horizontal and vertical print resolution, in dots per //! Set the horizontal and vertical print resolution, in dots per
//! inch (DPI). The horizontal and vertical resolutions are //! inch (DPI). The horizontal and vertical resolutions are
//! typically the same. (There are exceptions, such as some chart //! typically the same. (There are exceptions, such as some chart
//! printers.) //! printers.)
void setPrintDPI(int hDPI, int vDPI); void setPrintDPI(int hDPI, int vDPI);
#endif // XPDFWIDGET_PRINTING #endif // XPDFWIDGET_PRINTING
//! Convert a page to a color image. //! Convert a page to a color image.
//! This function converts the page number \a page to a 24-bit RGB //! This function converts the page number \a page to a 24-bit RGB
//! bitmap, at a resolution of \a dpi dots per inch. //! bitmap, at a resolution of \a dpi dots per inch. If \a
QImage convertPageToImage(int page, double dpi); //! transparent is true, the returned image will be 32-bit ARGB
//! instead, and will include an alpha channel.
QImage convertPageToImage(int page, double dpi, bool transparent = false);
//! Convert a rectangular region of a page to a color image. //! Convert a rectangular region of a page to a color image.
//! This function converts a rectangular region, defined by //! This function converts a rectangular region, defined by corners
//! corners (\a x0,\a y0) and (\a x1,\a y1), of page number \a page //! (\a x0,\a y0) and (\a x1,\a y1), of page number \a page to a
//! to a 24-bit RGB bitmap, at a resolution of \a dpi dots per inch. //! 24-bit RGB bitmap, at a resolution of \a dpi dots per inch. If
//! \a transparent is true, the returned image will be 32-bit ARGB
//! instead, and will include an alpha channel.
QImage convertRegionToImage(int page, double x0, double y0, QImage convertRegionToImage(int page, double x0, double y0,
double x1, double y1, double dpi); double x1, double y1, double dpi,
bool transparent = false);
//! Retrieve an embedded thumbnail image. //! Retrieve an embedded thumbnail image.
//! This function returns the embedded thumbnail image for the //! This function returns the embedded thumbnail image for the
//! specified page, or a null image if there is no embedded //! specified page, or a null image if there is no embedded
//! thumbnail. This function does not do any rasterization -- it //! thumbnail. This function does not do any rasterization -- it
//! only returns a non-null image if there is an embedded thumbnail //! only returns a non-null image if there is an embedded thumbnail
//! in the PDF file. //! in the PDF file.
QImage getThumbnail(int page); QImage getThumbnail(int page);
//! Checks to see if text extraction is allowed. //! Checks to see if text extraction is allowed.
 End of changes. 4 change blocks. 
7 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)