Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31029

Re: Is the API of JavaFX pixel-based?

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Is the API of JavaFX pixel-based?
Date 2015-02-03 09:52 -0500
Organization A noiseless patient Spider
Message-ID <maqnh5$8v4$1@dont-email.me> (permalink)
References <pixels-20150203115719@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 02/03/2015 06:01 AM, Stefan Ram wrote:
>    In a JavaFX tutorial, all dimensions (of text fields and so),
>    were hard-coded in the source code, in pixels!
>
>    In the age of devices with very small screens (like phones)
>    and very large screens (like desktops) or coarse resolutions
>    (like TVs) or high resolutions (like »retina« displays) is
>    an API based on pixels the height of fashion?
>
Not quite sure what you are asking. Point2D.getX() returns a double,
as does most of the api related to dimensions that I can see.

The Node class overview mentions Coordinate Systems, Transformations,
and Bounding Rectangles.

Yes, digital graphical devices are based upon pixels.

Can you point to the specific tutorial you mention?

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Is the API of JavaFX pixel-based? Jeff Higgins <jeff@invalid.invalid> - 2015-02-03 09:52 -0500
  Re: Is the API of JavaFX pixel-based? Jeff Higgins <jeff@invalid.invalid> - 2015-02-03 10:59 -0500
    Re: Is the API of JavaFX pixel-based? Jeff Higgins <jeff@invalid.invalid> - 2015-02-03 14:43 -0500
    Re: Is the API of JavaFX pixel-based? Jeff Higgins <jeff@invalid.invalid> - 2015-02-04 09:05 -0500
      Re: Is the API of JavaFX pixel-based? Jeff Higgins <jeff@invalid.invalid> - 2015-02-04 09:21 -0500
        Re: Is the API of JavaFX pixel-based? Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-02-05 06:18 +0800
          Re: Is the API of JavaFX pixel-based? Arne Vajhøj <arne@vajhoej.dk> - 2015-02-04 19:46 -0500
        Re: Is the API of JavaFX pixel-based? Arne Vajhøj <arne@vajhoej.dk> - 2015-02-04 19:49 -0500

csiph-web