summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/qpsprinter.ps
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/kernel/qpsprinter.ps')
-rw-r--r--tqtinterface/qt4/src/kernel/qpsprinter.ps26
1 files changed, 13 insertions, 13 deletions
diff --git a/tqtinterface/qt4/src/kernel/qpsprinter.ps b/tqtinterface/qt4/src/kernel/qpsprinter.ps
index 9ea2dc0..5275016 100644
--- a/tqtinterface/qt4/src/kernel/qpsprinter.ps
+++ b/tqtinterface/qt4/src/kernel/qpsprinter.ps
@@ -45,7 +45,7 @@
/Cx 0 d % current x position
/Cy 0 d % current y position
/WFi false d % winding fill
-/OMo false d % opaque mode (not transtqparent)
+/OMo false d % opaque mode (not transparent)
/BCol [ 1 1 1 ] d % brush color
/PCol [ 0 0 0 ] d % pen color
@@ -252,13 +252,13 @@
% general image drawing routine, used from the postscript driver
%
-% Draws images with and without tqmask with 1, 8 and 24(rgb) bits depth.
+% Draws images with and without mask with 1, 8 and 24(rgb) bits depth.
%
-% width height matrix image 1|8|24 tqmask|false x y di
+% width height matrix image 1|8|24 mask|false x y di
%
% width and height specify the width/height of the image,
% matrix a transformation matrix, image a procedure holding the image data
-% (same for tqmask) and x/y an additional translation.
+% (same for mask) and x/y an additional translation.
%
% ### should move the translation into the matrix!!!
/di
@@ -266,7 +266,7 @@
gsave
translate
1 index 1 eq { % bitmap
- false eq { % no tqmask, draw solid background
+ false eq { % no mask, draw solid background
pop
true 3 1 roll % width height false matrix image
4 index
@@ -274,17 +274,17 @@
false
4 index
4 index
- imagetqmask
+ imagemask
BkCol SC
- imagetqmask
+ imagemask
} {
pop
false 3 1 roll % width height false matrix image
- imagetqmask
+ imagemask
} ifelse
} {
dup false ne {
- % have a tqmask, see if we can use it
+ % have a mask, see if we can use it
/languagelevel where {
pop
languagelevel 3 ge
@@ -294,9 +294,9 @@
} ifelse
{
- % languagelevel3, we can use image tqmask and dicts
+ % languagelevel3, we can use image mask and dicts
- % store the image tqmask
+ % store the image mask
/ma exch d
% select colorspace according to 8|24 bit depth and set the decode array /dc
8 eq {
@@ -325,7 +325,7 @@
/BitsPerComponent 8 d
/Decode dc d
end d
- % the tqmask dictionary
+ % the mask dictionary
/md
7 dict dup begin
/ImageType 1 d
@@ -345,7 +345,7 @@
end
image
} {
- pop % no tqmask or can't use it, get rid of it
+ pop % no mask or can't use it, get rid of it
8 % width height image 8|24 8 matrix
4 1 roll
8 eq { % grayscale