⭘ W. James MacLean ⭘ Software Engineer ⭘ Google Waterloo, Canada |
On Mon, Apr 4, 2016 at 11:45 AM, Alessandro Alghisi <aless...@google.com> wrote:Here is the design doc: https://docs.google.com/document/d/1KDQu3blvKhHnRGnFxE36ea8uAxtfvhL1rfeL0FTuUTYAntoine Labour it is a transformation on the paint contentsThat means the scaling must be done in software, and pixels need to be uploaded again, every frame. That seems bad. If this was scaling the Graphics2D, we could implement it by adding a transform to the layer (like SetScale is done), so that it'd be virtually free. What would be the problem with that approach?AntoineOn Wed, Mar 30, 2016 at 9:33 PM, Antoine Labour <pi...@google.com> wrote:On Wed, Mar 30, 2016 at 5:33 PM, Raymes Khoury <ray...@google.com> wrote:-pepper-dev for the time beingThanks James! A few more questions that might help move forward: Is there a doc with more details about how pinch zoom will work with PDF? Have you chatted with the guys working on the skia backend for PDF to see if it would be easier to do once that is implemented?+Antoine Labour does the API sound reasonable to you? Should we make the API public or private? Should we just put it into PPB_PDF?I don't think I understand what the API does exactly. Is it a transformation on the layer (like SetScale) or on the paint contents (like Scroll)?AntoineThanks!