The _setwindow()
function in C enabled the width
and height
in pixels to be replaced by user defined double dimensions.
For example: _setwindow(YES, 0.00, 0.00, 5.50, 3.00);
YES
changed the 0,0
from the top left to the bottom left, and made the X range from 0.00
to 5.50
, and the Y range from 0.00
to 3.00
. Graphics could be assigned using X,Y coordinates within the assigned ranges, instead of pixels.
My question: Is there a comparable method in JavaFX?