[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Re: Coordinate Spaces
From: |
strk |
Subject: |
[Gnash-dev] Re: Coordinate Spaces |
Date: |
Wed, 23 Apr 2008 11:45:34 +0200 |
On Wed, Apr 23, 2008 at 10:35:07AM +0200, strk wrote:
> It seems time for a Coordinate Spaces cleanup.
> The current code is pretty confusing in that reguard, and
> we'll nead a clean interface for implementing Stage alignment,
> which is currently causing misalignments on YouTube (for example).
Started a wiki page:
http://wiki.gnashdev.org/CoordinateSystem
Didn't add the "Window Coordinate Space" definition yet as I don't
really like the name. There's not necessarely a window, could be
any kind of I/O device, right ?
--strk;
> My proposal for a naming convention is as follow:
>
> = Stage Coordinate Space =
>
> This is the coordinate reference system used by the core library.
> Units are in twips.
>
> = Window Coordinate Space =
>
> This is the coordinate reference system used by the Gui.
> Units are in pixels.
>
> The core lib should know NOTHING about the Window Coordinate Space,
> leaving any conversion to the Gui.
>
> If you agree on the definitions I'd go on reviewing some core and Gui
> interfaces to use those names. Any question/concern ?