[Y-devel] Re: Measuring lengths (pixels or something else?)
drizzt321 at phpfreaks.com drizzt321 at phpfreaks.com
Fri Feb 27 18:33:23 GMT 2004
Quoting Robert Wimmer <seppwimmer at hotmail.com>:
> >From: Mikko Rantalainen <mira at cc.jyu.fi>
> >To: y-devel at www.y-windows.org
> >Subject: [Y-devel] Re: Measuring lengths (pixels or something else?)
> >Date: Fri, 27 Feb 2004 11:27:20 +0200
> >
> >Chris Amshey <ychris at amshey.net> wrote:
> >>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.
>
> i think this really has to be discussed in the beginning - that means now.
> for me measuring in pixels is obsolet nowadays - espacially for a new
> windowing system. on the one hand screen resolutions differ that much - on
> the other hand, may be one should not only think in terms of computer
> displays. i hope there will be a lot of machines using linux - and maybe
> sometimes Y - with totally different displays.
indeed, it seems that counting pixels is somewhat old fashioned, especially
with the variations in display sizes we have today. mostly I rememberd that I
had seen another couple of ways to measure size/distance that was resolution
independant(meaning not counting pixels) that brought me to think of this.
>
> >Another nice length measurement would be to follow HTML/CSS and use base
> >font size as basic measurement (em). That way, if the user thinks that the
> >UI looks too small, he just adjusts the default font size and everything
> >scales accordingly.
>
> this would be my first choice to define measurements - assumed we have a
> textual context. presuming this, you can think about a coordinate system :
> left top - left bottom right - top ... for me, and i think most of us, the
> top left coordinate system is some sort of natural - and i think the reason
> for that is, that we are writing "latin" (latin - characters) from top left
>
> to right bottom. but a lot of people are writing right to left and top down
>
> or top down left to right and so on ...
>
> to end this theoratical discussion. in the end there will be a layer where
> you have to define coordinates in pixel and on this level the coordinate
> system that is used is normally top left to bottom right - the only
> exception i know is the OBERON system. BUT it should also be possible to
> define measurements in points (sometimes you want to print), em's etc. and
> the oriantation left right - right left - top down. this relly sound like
> CSS.
>
> so what about styles ? wouldnt it be terrific to define some sort of styles
> ? for example every widget has an associated style similar to HTML ? i have
> done some work on this - implementing styles for a widget system (or better
> a TAG system) on X. it's not that complicated. good idea ?
>
> bye sepp
>
>
>
> (besides to write Y in OBERON II would be really great)
never heard/seen of oberon/oberon II, got a link or something?
Aaron
----------------------------------------------------------------------
This mail sent through Toaster-Horde (https://qmailtoaster.clikka.com/)
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved