Ticket Change Details
Not logged in
Overview

Artifact ID: 6717a55aea0f4e2a9c8408f1711bf31d1a6ef733
Ticket: d05d10b80d5ff8013a5448645ad31ae0793b4590
Rotated tkpath canvas results to wrong bbox coords
User & Date: anonymous 2019-04-13 15:09:09
Changes

  1. Change icomment to:

    I wasn't aware of that development work taking place.

    Reading the docs for the new "path" widget, it looks like the issue of different coordinate systems is resolved by removing functionality, as witnessed by the following:

    "Canvases do not support scaling or rotation of the canvas coordinate system relative to the window coordinate system."

    Which probably means that the canvas root will now be fixed and not allowed to have a -matrix option and be transformed, and therefore, bbox and coords will always refer to the coordinate system of the root. This is obviously possible with the present tkpath canvas too, if one restrains from using transformations on the root. But leaves canvas items without a native command to obtain coords and a bbox in their own coordinate system.

    I might bring this issue up with the Tk developers at some point.

    Thanks for the consideration.

  2. Change login to "anonymous"
  3. Change mimetype to "text/x-fossil-plain"