예제 #1
0
        public virtual void GetRenderingControls(
            out D2D1_RENDERING_CONTROLS renderingControls
            )
        {
            var fp = GetFunctionPointer(77);

            if (m_GetRenderingControlsFunc == null)
            {
                m_GetRenderingControlsFunc = (GetRenderingControlsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetRenderingControlsFunc));
            }

            m_GetRenderingControlsFunc(m_ptr, out renderingControls);
        }
예제 #2
0
        public virtual void SetRenderingControls(
            ref D2D1_RENDERING_CONTROLS renderingControls
            )
        {
            var fp = GetFunctionPointer(76);

            if (m_SetRenderingControlsFunc == null)
            {
                m_SetRenderingControlsFunc = (SetRenderingControlsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetRenderingControlsFunc));
            }

            m_SetRenderingControlsFunc(m_ptr, ref renderingControls);
        }