On 4/14/17 7:36 AM, Michael Paus wrote:
For my Mac (Retina) I know that the renderScale is 2.0 but how do you find that
out in the general case?
In JDK 9 you have:
Screen.getOutputScaleX/Y()
Window.outputScaleX/Y (read-only double properties, based on Screen values)
Window.renderScaleX/Y
I think we can agree that this is kind of an expert feature but you
definitely need such features
for any high-level interface if you want to achieve a good performance.
The root of the problems you have described is the same as the one you
are already confronted
with today when you want to
Any suggestions on how to implement this when the size of pixels may be an
arbitrary non-integer number?
Consider rendering on a 125% scaled Windows 10 screen. If you want to scroll by 2 pixels you would want to scroll by
1.6 coordinate units. If you want to scroll by 2 coordinate units you
I have submitted the RFE.
— Dirk
> Am 10.04.2017 um 16:54 schrieb Kevin Rushforth :
>
> Please file an Enhancement request and we can consider this for JDK 10.
>
> Dirk Lemmermann wrote:
>>
>> +1 on Java 8/9 update. But I have a feeling that will be hard to
Please file an Enhancement request and we can consider this for JDK 10.
Dirk Lemmermann wrote:
+1 on Java 8/9 update. But I have a feeling that will be hard to accomplish.
Indeed it will be. We have a general policy against further enhancements
for JDK 8uNN. I suspect the same is likely
+1 on Java 8/9 update. But I have a feeling that will be hard to accomplish.
> Am 10.04.2017 um 11:20 schrieb Michael Paus :
>
> I also have that on my wishlist. Actually I would like to see that in some
> update release for Java 8/9 too
> because Java 10 is still very far away
I also have that on my wishlist. Actually I would like to see that in
some update release for Java 8/9 too
because Java 10 is still very far away at the horizon.
Michael
Am 10.04.17 um 10:32 schrieb Dirk Lemmermann:
HI there,
I was wondering if there is any chance that Java 10 could implement
HI there,
I was wondering if there is any chance that Java 10 could implement some sort
of „content shifting“ for the Canvas API?
I would love to have this feature for supporting faster horizontal scrolling in
my Gantt Chart framework FlexGanttFX. Currently when the user scrolls then the