예제 #1
0
        internal static SurfaceX11Pixmap ToManaged(SurfaceX11Pixmap_StructInternal _internal_struct)
        {
            var _external_struct = new SurfaceX11Pixmap();

            _external_struct.Visual = _internal_struct.Visual;
            _external_struct.Pixmap = _internal_struct.Pixmap;

            return(_external_struct);
        }
예제 #2
0
        internal static SurfaceX11Pixmap_StructInternal ToInternal(SurfaceX11Pixmap _external_struct)
        {
            var _internal_struct = new SurfaceX11Pixmap_StructInternal();

            _internal_struct.Visual = _external_struct.Visual;
            _internal_struct.Pixmap = _external_struct.Pixmap;

            return(_internal_struct);
        }