HIViewGetFrame() static private méthode

static private HIViewGetFrame ( IntPtr inView ) : HIRect
inView System.IntPtr
Résultat HIRect
Exemple #1
0
        internal static HIRect HIViewGetFrame(IntPtr inView)
        {
            HIRect   outRect;
            OSStatus frame = API.HIViewGetFrame(inView, out outRect);

            if (frame != OSStatus.NoError)
            {
                throw new MacOSException(frame);
            }
            else
            {
                return(outRect);
            }
        }