[Y-devel] shapes?
Chris Amshey ychris at amshey.net
Thu Feb 26 16:16:08 GMT 2004
On Wed, Feb 25, 2004 at 04:31:57PM -0500, Aaron wrote:
> of what underlying libraries/techniques/etc to display things, in terms
> of the x and y axis, are we measuring in pixels? dpi? some other
> quantity? we should decide this now if possible, so we can have internal
> consistancy in our x,y scheme.
We currently measure in pixels, and I think we should continue to
measure in pixels - the floating point math and rasterization efforts
involved in any other scheme will cause poor performance and strange
artifacts. We should (and don't yet, AFAIK) have a dpi value readily available at all levels so that scaling can be built in.
> Also, a thought on that, are we starting 0,0 at the top left of the Y
> desktop/extended desktop(if we want to do that like X does), or the top
> left of a given Y window?
>From the point of view of any widget, the origin is the top-left of
that widget; so placing a widget in a window is to the top-left of the
window, drawing in a canvas is to the top-left of a canvas.
--Chris
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved