Show / Hide Table of Contents

    Interface ICoordTransform

    Interface for coordinate tranform complient

    Namespace: FormsGestures
    Assembly: FormsGestures.dll
    Syntax
    public interface ICoordTransform

    Methods

    BoundsInWindowCoord(VisualElement)

    Returns bounds of view in DIP Screen Coordinates

    Declaration
    Rectangle BoundsInWindowCoord(VisualElement element)
    Parameters
    Type Name Description
    VisualElement element
    Returns
    Type Description
    Rectangle

    CoordTransform(VisualElement, Point, VisualElement)

    point transform

    Declaration
    Point CoordTransform(VisualElement fromElement, Point p, VisualElement toElement)
    Parameters
    Type Name Description
    VisualElement fromElement
    Point p
    VisualElement toElement
    Returns
    Type Description
    Point

    CoordTransform(VisualElement, Rectangle, VisualElement)

    rectangle transform

    Declaration
    Rectangle CoordTransform(VisualElement fromElement, Rectangle r, VisualElement toElement)
    Parameters
    Type Name Description
    VisualElement fromElement
    Rectangle r
    VisualElement toElement
    Returns
    Type Description
    Rectangle

    PointInWindowCoord(VisualElement, Point)

    Returns point within view in DIP Screen Coordinates

    Declaration
    Point PointInWindowCoord(VisualElement element, Point point)
    Parameters
    Type Name Description
    VisualElement element
    Point point
    Returns
    Type Description
    Point

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel