r17912 by fschmid - Fixed Bug #11211: [PATCH] two comments for pdflib

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 28 19:04:58 UTC 2012


Author: fschmid
Date: Wed Nov 28 19:04:58 2012
New Revision: 17912

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17912
Log:
Fixed Bug #11211: [PATCH] two comments for pdflib

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17912&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Wed Nov 28 19:04:58 2012
@@ -3444,6 +3444,14 @@
 	return retString;
 }
 
+/**
+ * Fill this.output with the QString representation of the item.
+ * Checks if the item can be represented in the chosen PDF version, based on some of its caracteristics
+ * and delegates the work to PDF_Image, PDF_GradientFillStroke, PDF_PatternFillStroke and so on for
+ * filling this.output.
+ * Returns false if the content can't be represented in the chosen PDF version,
+ * if the image can't be loaded
+ */
 bool PDFLibCore::PDF_ProcessItem(QString& output, PageItem* ite, const ScPage* pag, uint PNr, bool embedded, bool pattern)
 {
 	QString tmp(""), tmpOut;
@@ -9366,6 +9374,10 @@
 	return ColorSpaceRGB;
 }
 
+/**
+ * Add the image item to this.output
+ * Returns false if the image can't be read or if it can't be added to this.output
+*/
 bool PDFLibCore::PDF_Image(PageItem* c, const QString& fn, double sx, double sy, double x, double y, bool fromAN, const QString& Profil, bool Embedded, eRenderIntent Intent, QString* output)
 {
 	QFileInfo fi = QFileInfo(fn);




More information about the scribus-commit mailing list