Article # 474, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Bit mask versus area patterns when printing.
Q. When I am drawing to the screen and call the GString command: GSSetAreaMask SDM_VERTICAL GSFillRect ... The vertical line pattern is clearly visible. However, when drawing to the printer, the vertical lines in the pattern are so close that it appears to be a solid color. I tried using GSApplyScale to increase the resolution (the distance between the vertical lines of the pattern) but it does not seem to do anything. Am I missing some command or something? A. The reason this is happening is that the mask is bit oriented, so on a high resolution device (like your printer) the bits are very close together. You should use GSSetAreaPattern (with PT_SYSTEM_HATCH and SH_VERTICAL) so the system will maintain a consistent hatch pattern on all devices.