Share via


IInkStrokeDisp::HitTestCircle

4/8/2010

Determines whether an IInkStrokeDisp object is either completely inside or intersected by a given circle.

Syntax

HRESULT HitTestCircle (
  [in] long x,
  [in] long y,
  [in] float Radius,
  [out, retval] VARIANT *Intersects
);

Parameters

  • x
    The x–value of the center of the circle in ink space coordinates.
  • y
    The y–value of the center of the circle in ink space coordinates.
  • Radius
    The radius of the circle in ink space coordinates.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

A parameter contained an invalid pointer.

E_OUTOFMEMORY

Cannot allocate Stroke handler helper object.

E_UNEXPECTED

Unexpected parameter or property type.

E_INK_EXCEPTION

An exception occurred inside the method.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference