public virtual int CreateColorContext( D2D1_COLOR_SPACE space, ref byte profile, uint profileSize, out ID2D1ColorContext colorContext ) { var fp = GetFunctionPointer(59); if (m_CreateColorContextFunc == null) { m_CreateColorContextFunc = (CreateColorContextFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateColorContextFunc)); } colorContext = new ID2D1ColorContext(); return(m_CreateColorContextFunc(m_ptr, space, ref profile, profileSize, out colorContext.PtrForNew)); }
public virtual int CreateGradientStopCollection( ref D2D1_GRADIENT_STOP straightAlphaGradientStops, uint straightAlphaGradientStopsCount, D2D1_COLOR_SPACE preInterpolationSpace, D2D1_COLOR_SPACE postInterpolationSpace, D2D1_BUFFER_PRECISION bufferPrecision, D2D1_EXTEND_MODE extendMode, D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode, out ID2D1GradientStopCollection1 gradientStopCollection1 ) { var fp = GetFunctionPointer(64); if (m_CreateGradientStopCollectionFunc == null) { m_CreateGradientStopCollectionFunc = (CreateGradientStopCollectionFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateGradientStopCollectionFunc)); } gradientStopCollection1 = new ID2D1GradientStopCollection1(); return(m_CreateGradientStopCollectionFunc(m_ptr, ref straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, out gradientStopCollection1.PtrForNew)); }
public static extern _D3DCOLORVALUE D2D1ConvertColorSpace(D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, ref _D3DCOLORVALUE color);
public HRESULT CreateColorContext(D2D1_COLOR_SPACE space, [NativeTypeName("const BYTE *")] byte *profile, [NativeTypeName("UINT32")] uint profileSize, ID2D1ColorContext **colorContext) { return(((delegate * unmanaged <ID2D1EffectContext2 *, D2D1_COLOR_SPACE, byte *, uint, ID2D1ColorContext **, int>)(lpVtbl[19]))((ID2D1EffectContext2 *)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext)); }
public static DXGI_RGBA ConvertColorSpace(D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, [NativeTypeName("const D2D1_COLOR_F &")] DXGI_RGBA *color) { return(D2D1ConvertColorSpace(sourceColorSpace, destinationColorSpace, color)); }
public static extern DXGI_RGBA D2D1ConvertColorSpace(D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, [NativeTypeName("const D2D1_COLOR_F *")] DXGI_RGBA *color);
public D2D1_PRINT_CONTROL_PROPERTIES(D2D1_PRINT_FONT_SUBSET_MODE fontSubsetMode = D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT, [NativeTypeName("FLOAT")] float rasterDpi = 150.0f, D2D1_COLOR_SPACE colorSpace = D2D1_COLOR_SPACE_SRGB) { this = PrintControlProperties(fontSubsetMode, rasterDpi, colorSpace); }
public static extern System.Numerics.Vector4 D2D1ConvertColorSpace( D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, ref System.Numerics.Vector4 color );