[
https://issues.apache.org/jira/browse/PIVOT-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Brown resolved PIVOT-296.
------------------------------
Resolution: Fixed
> Determine a Drawing's bounds from its Canvas rather than explicit width and
> height properties
> ---------------------------------------------------------------------------------------------
>
> Key: PIVOT-296
> URL: https://issues.apache.org/jira/browse/PIVOT-296
> Project: Pivot
> Issue Type: Improvement
> Components: wtk-media
> Reporter: Greg Brown
> Assignee: Greg Brown
> Fix For: 1.3.1
>
>
> Currently, a Drawing's bounds must be explicitly specified. They should
> instead be inferred from the bounds of the drawing's canvas:
> drawing width = Math.max(canvas.x + canvas.width, 0);
> drawing height = Math.max(canvas.y + canvas.height, 0);
> This will allow us to eliminate the validation callback in Canvas, and will
> eliminate some potential confusion about the meaning of a drawing's size.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.