I think the server version check is needed. (I wouldn't bother with a cairo version check.)
Might as well use EXTEND_PAD for upscaling with server >= 1.7. I was thinking something like
gfxPattern::GraphicsExtend gfxContext::PreferredExtend().
I think the server version check is needed.
(I wouldn't bother with a cairo version check.)
Might as well use EXTEND_PAD for upscaling with server >= 1.7.
I was thinking something like
gfxPattern: :GraphicsExtend gfxContext: :PreferredExten d().