次の方法で共有


XRPoint (Compact 2013)

3/28/2014

This structure contains the x-coordinate and y-coordinate that define a point.

Syntax

struct XRPoint{
    float  x;
    float  y;
};

Members

  • x
    Indicates the x-coordinate, in pixels.
  • y
    Indicates the y-coordinate, in pixels.

Remarks

Depending on usage, properties of type XRPoint may be referenced to the origin of either the overall content area frame or a specific UI element.

The XRMouseEventArgs event data structure contains a Position member that is an XRPoint structure that describes the point at which a mouse event occurred.

.NET Framework Equivalent

System.Windows.Point

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures