ggplotd icon indicating copy to clipboard operation
ggplotd copied to clipboard

Custom renderer (beside built-in cairo based)

Open drug007 opened this issue 6 years ago • 1 comments

How tightly ggplotd is integrated with cairo? Could you give some advice where to start to implement custom renderer?

drug007 avatar Jan 19 '19 20:01 drug007

It uses some of the features quite extensively and you might have most luck with making a cairo compatible interface for the custom renderer (especially cairo context). You can get a good feel for the usage by searching for 'cairo.' and 'context' in the code. Most of the code that deals with cairo directly is in source/ggplotd/ggplotd.d and source/ggplotd/geom.d

Having said that I'd be happy to include different renderer support.

BlackEdder avatar Jan 24 '19 08:01 BlackEdder