[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    How to calculate distance from Stage to Root accounting possible CSS transformations?
From:       Thiago_Milczarek_SayĆ£o <thiago.sayao () gmail ! com>
Date:       2023-01-29 18:45:23
Message-ID: CAAP_wukPkAW01TNatiEQQhnkusHq7oWyqU_eNM+zVfLS31hfEg () mail ! gmail ! com
[Download RAW message or body]

Hi,

I want to calculate where to display resize cursors when resizing an
TRANSPARENT Stage + Scene with rounded borders.

- Stage
--- Scene
---- Root

I don't think we would have to be pixel-exact, the resize cursors could be
displayed between Stage and begin of Root actual content.
The actual content could be distant from its "layout box", because of a
border or a padding, for example.

https://github.com/tsayao/jfx/blob/begin_window_move/tests/manual/graphics/StageBeginMoveDragTest.java

Any ideas?

Thanks.
-- Thiago.

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi,</div><div><br></div><div>I want to calculate where to display \
resize cursors when resizing an TRANSPARENT Stage + Scene with rounded \
borders.</div><div><br></div><div>- Stage</div><div>--- Scene</div><div>---- \
Root</div><div><br></div><div>I don&#39;t think we would have to be pixel-exact, the \
resize cursors could be displayed between Stage and begin of Root actual \
content.</div><div>The actual content could be distant from its &quot;layout \
box&quot;, because of a border or a padding, for example.</div><div><br></div><div><a \
href="https://github.com/tsayao/jfx/blob/begin_window_move/tests/manual/graphics/Stage \
BeginMoveDragTest.java">https://github.com/tsayao/jfx/blob/begin_window_move/tests/manual/graphics/StageBeginMoveDragTest.java</a></div><div><br></div><div>Any \
ideas?</div><div><br></div><div>Thanks.</div><div>-- Thiago.<br></div><div><a \
class="gmail_plusreply" id="plusReplyChip-0"><br></a></div><div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic