Ejemplo n.º 1
0
        public virtual int Map(
            D2D1_MAP_OPTIONS options,
            out D2D1_MAPPED_RECT mappedRect
            )
        {
            var fp = GetFunctionPointer(14);

            if (m_MapFunc == null)
            {
                m_MapFunc = (MapFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapFunc));
            }

            return(m_MapFunc(m_ptr, options, out mappedRect));
        }
 public HRESULT Map(D2D1_MAP_OPTIONS options, D2D1_MAPPED_RECT *mappedRect)
 {
     return(((delegate * unmanaged <ID2D1Bitmap1 *, D2D1_MAP_OPTIONS, D2D1_MAPPED_RECT *, int>)(lpVtbl[14]))((ID2D1Bitmap1 *)Unsafe.AsPointer(ref this), options, mappedRect));
 }
Ejemplo n.º 3
0
 public int Map(D2D1_MAP_OPTIONS options, [NativeTypeName("D2D1_MAPPED_RECT *")] D2D1_MAPPED_RECT *mappedRect)
 {
     return(((delegate * unmanaged <ID2D1Bitmap1 *, D2D1_MAP_OPTIONS, D2D1_MAPPED_RECT *, int>)(lpVtbl[14]))((ID2D1Bitmap1 *)Unsafe.AsPointer(ref this), options, mappedRect));
 }