Contents

webkitConvertPointFromPageToNode

Converts a point from page coordinates to node coordinates.

Declaration

WebKitPoint webkitConvertPointFromPageToNode(
    optional Node? node, 
    optional WebKitPoint? p
);

Parameters

  • node:

    The coordinate space to convert the given point to.

  • p:

    A point in page coordinates to convert to node coordinates.

Return Value

A point that is at the same location as p but in node coordinates.

See Also

Converting Points