getAncestorOffsetFromDocumentOffset abstract method

Offset getAncestorOffsetFromDocumentOffset(
  1. Offset documentOffset, [
  2. RenderObject? ancestor
])

Converts documentOffset from this DocumentLayout's coordinate space to the same location on the screen within the ancestor's coordinate space.

Implementation

Offset getAncestorOffsetFromDocumentOffset(Offset documentOffset, [RenderObject? ancestor]);