Beispiel #1
0
        internal TrackedImage(ulong cPtr)
        {
            if (cPtr == 0)
            {
                return;
            }

            trackedImageCPtr = cPtr;

            index       = NativeAPI.TrackedImage_getIndex(trackedImageCPtr);
            width       = NativeAPI.TrackedImage_getWidth(trackedImageCPtr);
            height      = NativeAPI.TrackedImage_getHeight(trackedImageCPtr);
            length      = NativeAPI.TrackedImage_getLength(trackedImageCPtr);
            colorFormat = (ColorFormat)NativeAPI.TrackedImage_getFormat(trackedImageCPtr);
        }