[webkit-dev] zoom from a point - design inputs

zaheer ahmad zaheer.mot at gmail.com
Thu Nov 20 10:15:49 PST 2008

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081120/1eb678d6/attachment.html>

More information about the webkit-dev mailing list