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:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user