Skip to content

WidgetFrame の座標と AnchorPoint から Widget の正しい座標を算出する #115

@rrbox

Description

@rrbox
  • anchor point はノード内の基準点です。図形のどの部分を座標とするのかが表現されています。
  • widget の座標は widget frame によって指定されます。しかし、widget に与えられるのは、描画可能な四角形と、その中心座標のみです。固有の anchor point を持つ widget をフレーム内に収めるには、widget のノードの座標を調整する必要があります。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions