Added ink density and dither type to halftone constructor

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2004-02-14 00:07:17 +00:00
parent 342f6eb938
commit 3b6882f17c
5 changed files with 5 additions and 5 deletions
@@ -41,7 +41,7 @@ bool LIPS3Driver::startDoc()
paperFeedMode();
disableAutoFF();
setNumberOfCopies();
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma());
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma(), getJobData()->getInkDensity(), getJobData()->getDitherType());
return true;
}
catch (TransportException &err) {
@@ -43,7 +43,7 @@ bool LIPS4Driver::startDoc()
setNumberOfCopies();
sidePrintingControl();
setBindingMargin();
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma());
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma(), getJobData()->getInkDensity(), getJobData()->getDitherType());
return true;
}
catch (TransportException &err) {
+1 -1
View File
@@ -34,7 +34,7 @@ bool PCL5Driver::startDoc()
{
try {
jobStart();
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma());
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma(), getJobData()->getInkDensity(), getJobData()->getDitherType());
return true;
}
catch (TransportException &err) {
+1 -1
View File
@@ -41,7 +41,7 @@ bool PCL6Driver::startDoc()
{
try {
jobStart();
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma());
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma(), getJobData()->getInkDensity(), getJobData()->getDitherType());
return true;
}
catch (TransportException &err) {
+1 -1
View File
@@ -36,7 +36,7 @@ bool PSDriver::startDoc()
{
try {
jobStart();
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma());
fHalftone = new Halftone(getJobData()->getSurfaceType(), getJobData()->getGamma(), getJobData()->getInkDensity(), getJobData()->getDitherType());
return true;
}
catch (TransportException &err) {