> I'd like to change the way do rendering, and introduce a > EvRenderingContext to encapsulate our rendering information. Currently, > we have some code like: > > ev_document_set_orientation (doc, orientation); > pixbuf = ev_document_render_pixbuf (doc, page, scale); > > Instead of this, I'd like to see us have code that looks like: > > EvRenderContext *rc = ev_render_context_new (doc, orientation, page, scale); > pixbuf = ev_document_render_pixbuf (doc, rc); > ... > ev_render_context_free (rc);
It sounds good, just a question... How are we going to adapt coordinates (of a find match, for example) for a rotated document? Are we going to transform them in EvView like we do for scale already? Marco _______________________________________________ Evince-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evince-list
