Пример #1
0
        public void AddPath(GraphicsPath addingPath, bool connect)
        {
            ArgumentNullException.ThrowIfNull(addingPath);

            Gdip.CheckStatus(Gdip.GdipAddPathPath(
                                 new HandleRef(this, _nativePath), new HandleRef(addingPath, addingPath._nativePath), connect));
        }
Пример #2
0
        //
        // AddPath
        //
        public void AddPath(GraphicsPath addingPath, bool connect)
        {
            if (addingPath == null)
                throw new ArgumentNullException(nameof(addingPath));

            int status = Gdip.GdipAddPathPath(_nativePath, addingPath._nativePath, connect);
            Gdip.CheckStatus(status);
        }