/// <summary> /// 判断是否选中图形(越界线或闯入\闯出区) /// </summary> /// <param name="lVodHandle">播放标示句柄</param> /// <param name="tPt">窗口坐标</param> /// <returns>返回TRUE表示已经选中图形,返回FALSE表示没有选中</returns> public bool IsPlayHitGraph(Int32 lVodHandle, System.Drawing.Point point) { MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_IsPlayHitGraph lVodHandle:{0},x:{1},y:{2}" , lVodHandle , point.X , point.Y )); TVDASDK_WINDOW_POINT tPt = new TVDASDK_WINDOW_POINT() { dwX = (uint)point.X, dwY = (uint)point.Y }; bool retVal = IVXSDKProtocol.VdaSdk_IsPlayHitGraph(lVodHandle, tPt); MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_IsPlayHitGraph ret:{0}" , retVal )); return(retVal); }
public static extern bool VdaSdk_IsPlayHitGraph(Int32 lVodHandle, TVDASDK_WINDOW_POINT tPt);