Beispiel #1
0
        // public methods

        public override object Clone()
        {
            IntPtr clonePtr;
            Status status = GDIPlus.GdipCloneBrush(nativeObject, out clonePtr);

            GDIPlus.CheckStatus(status);

            return(new TextureBrush(clonePtr));
        }