incorrect. HARDWARE mode AND patternheight<>0 , Patternwidth<>0



CORRECT. SOFTWARE mode OR patternwidth=0, patternheight=0

----------

Tried your code and set to point and linear. No effect

Edit:

UPDATE. Only happens when patternheight and patternwidth are set! If set to 0, no change in draw.

Conclusion.

Both problems can be traced back to using hardware mode with patternheight and patternwidth.

There is a problem with Patternheight and patternwidth or calculations connected with them once hardware mode is enabled.