hi all, Iam implementing a variant of the zoom api in the gtk port to zoom wrt to a click point instead of the default page origin. i see few options
- translate the cairo context in the expose and adjust document dirty rectangles in paint. This may break other usecases as layout engine is oblivious to this - use the css transforms and translate and zoom on the root element. - zoom + scroll by the offset of the point - non-optimal This equally applies to the landscape mode view though that can be transparently handled at the platform level (gtk/x) Please let me know any inputs on the right approach to this problem. thanks, Zaher
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev