I tried it and found that subcontext and pattern filling is broken.
Several functions are called with (sub-) context coordinates and also with base context coords internally.
I don't have the skills to fix the library, but I can extend the test to other functions if you tell me which ones.
Well, you tracked down some hidden bugs in the past and your patches are ok. Should be sufficent to fix these problems.
All GrPatterned* and GrPatternFill* functions should be checked (and documented).
Major problems are: - Several functions donŽt apply subcontext transformation when drawing - Functions used for a filler-tripple internally shouldnŽt apply the subcontext transformation when drawing, we may call a driver func here, but must apply the transformation to align the pattern.
Eg. in src/pattern/patfline.c the func GrPatternFilledLine() is a user function ( -> apply subcontext offset) and a filler: patternf.c / _GrDrawPatternedLine() -> _GrPatternFilledLine () -> GrPatternFilledLine()
Hartmut