public virtual int GetEffectInvalidRectangleCount( ID2D1Effect effect, out uint rectangleCount ) { var fp = GetFunctionPointer(88); if (m_GetEffectInvalidRectangleCountFunc == null) { m_GetEffectInvalidRectangleCountFunc = (GetEffectInvalidRectangleCountFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetEffectInvalidRectangleCountFunc)); } return(m_GetEffectInvalidRectangleCountFunc(m_ptr, effect != null ? effect.Ptr : IntPtr.Zero, out rectangleCount)); }
public virtual int CreateEffect( ref Guid effectId, out ID2D1Effect effect ) { var fp = GetFunctionPointer(63); if (m_CreateEffectFunc == null) { m_CreateEffectFunc = (CreateEffectFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateEffectFunc)); } effect = new ID2D1Effect(); return(m_CreateEffectFunc(m_ptr, ref effectId, out effect.PtrForNew)); }
public virtual int CreateTransformNodeFromEffect( ID2D1Effect effect, out ID2D1TransformNode transformNode ) { var fp = GetFunctionPointer(6); if (m_CreateTransformNodeFromEffectFunc == null) { m_CreateTransformNodeFromEffectFunc = (CreateTransformNodeFromEffectFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateTransformNodeFromEffectFunc)); } transformNode = new ID2D1TransformNode(); return(m_CreateTransformNodeFromEffectFunc(m_ptr, effect != null ? effect.Ptr : IntPtr.Zero, out transformNode.PtrForNew)); }
public virtual int GetEffectInvalidRectangles( ID2D1Effect effect, out System.Numerics.Vector4 rectangles, uint rectanglesCount ) { var fp = GetFunctionPointer(89); if (m_GetEffectInvalidRectanglesFunc == null) { m_GetEffectInvalidRectanglesFunc = (GetEffectInvalidRectanglesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetEffectInvalidRectanglesFunc)); } return(m_GetEffectInvalidRectanglesFunc(m_ptr, effect != null ? effect.Ptr : IntPtr.Zero, out rectangles, rectanglesCount)); }
public virtual int InvalidateEffectInputRectangle( ID2D1Effect effect, uint input, ref System.Numerics.Vector4 inputRectangle ) { var fp = GetFunctionPointer(87); if (m_InvalidateEffectInputRectangleFunc == null) { m_InvalidateEffectInputRectangleFunc = (InvalidateEffectInputRectangleFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InvalidateEffectInputRectangleFunc)); } return(m_InvalidateEffectInputRectangleFunc(m_ptr, effect != null ? effect.Ptr : IntPtr.Zero, input, ref inputRectangle)); }
public virtual int GetEffectRequiredInputRectangles( ID2D1Effect renderEffect, ref System.Numerics.Vector4 renderImageRectangle, ref D2D1_EFFECT_INPUT_DESCRIPTION inputDescriptions, out System.Numerics.Vector4 requiredInputRects, uint inputCount ) { var fp = GetFunctionPointer(90); if (m_GetEffectRequiredInputRectanglesFunc == null) { m_GetEffectRequiredInputRectanglesFunc = (GetEffectRequiredInputRectanglesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetEffectRequiredInputRectanglesFunc)); } return(m_GetEffectRequiredInputRectanglesFunc(m_ptr, renderEffect != null ? renderEffect.Ptr : IntPtr.Zero, ref renderImageRectangle, ref inputDescriptions, out requiredInputRects, inputCount)); }