Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2, InkStyleProperties inkStyleProperties)
     : this(IntPtr.Zero)
 {
     context2.CreateInkStyle(inkStyleProperties, this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TransformedImageSource"/>.
 /// </summary>
 public TransformedImageSource(DeviceContext2 context2, ImageSource imageSource, ref TransformedImageSourceProperties ropertiesRef)
     : this(IntPtr.Zero)
 {
     context2.CreateTransformedImageSource(imageSource, ref ropertiesRef, this);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2)
     :this(IntPtr.Zero)
 {
     context2.CreateInkStyle(null, this);
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GradientMesh"/>.
 /// </summary>
 public GradientMesh(DeviceContext2 context2, GradientMeshPatch[] atchesRef, int patchesCount)
     : this(IntPtr.Zero)
 {
     context2.CreateGradientMesh(atchesRef, patchesCount, this);
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LookupTable3D"/>.
 /// </summary>
 public LookupTable3D(DeviceContext2 context2, BufferPrecision precision, int[] extents, byte[] data, int dataCount, int[] strides)
     : this(IntPtr.Zero)
 {
     context2.CreateLookupTable3D(precision, extents, data, dataCount, strides, this);
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageSource"/>.
 /// </summary>
 public ImageSource(DeviceContext2 context2, DXGI.Surface[] surfaces, int surfaceCount, DXGI.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options)
     : this(IntPtr.Zero)
 {
     context2.CreateImageSourceFromDxgi(surfaces, surfaceCount, colorSpace, options, this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageSourceFromWic"/>.
 /// </summary>
 public ImageSourceFromWic(DeviceContext2 context2, WIC.BitmapSource wicBitmapSource, ImageSourceLoadingOptions loadingOptions, AlphaMode alphaMode)
     : this(IntPtr.Zero)
 {
     context2.CreateImageSourceFromWic(wicBitmapSource, loadingOptions, alphaMode, this);
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Ink"/>.
 /// </summary>
 public Ink(DeviceContext2 context2, InkPoint startPoint)
     :this(IntPtr.Zero)
 {
     context2.CreateInk(startPoint, this);
 }
Example #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LookupTable3D"/>.
 /// </summary>
 public LookupTable3D(DeviceContext2 context2, BufferPrecision precision, int[] extents, byte[] data, int dataCount, int[] strides)
     : this(IntPtr.Zero)
 {
     context2.CreateLookupTable3D(precision, extents, data, dataCount, strides, this);
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageSourceFromWic"/>.
 /// </summary>
 public ImageSourceFromWic(DeviceContext2 context2, WIC.BitmapSource wicBitmapSource, ImageSourceLoadingOptions loadingOptions, AlphaMode alphaMode)
     : this(IntPtr.Zero)
 {
     context2.CreateImageSourceFromWic(wicBitmapSource, loadingOptions, alphaMode, this);
 }
Example #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageSource"/>.
 /// </summary>
 public ImageSource(DeviceContext2 context2, DXGI.Surface[] surfaces, int surfaceCount, DXGI.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options)
     : this(IntPtr.Zero)
 {
     context2.CreateImageSourceFromDxgi(surfaces, surfaceCount, colorSpace, options, this);
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GradientMesh"/>.
 /// </summary>
 public GradientMesh(DeviceContext2 context2, GradientMeshPatch[] atchesRef, int patchesCount)
     : this(IntPtr.Zero)
 {
     context2.CreateGradientMesh(atchesRef, patchesCount, this);
 }
Example #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransformedImageSource"/>.
 /// </summary>
 public TransformedImageSource(DeviceContext2 context2, ImageSource imageSource, ref TransformedImageSourceProperties ropertiesRef)
     : this(IntPtr.Zero)
 {
     context2.CreateTransformedImageSource(imageSource, ref ropertiesRef, this);
 }
Example #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2, InkStyleProperties inkStyleProperties)
     : this(IntPtr.Zero)
 {
     context2.CreateInkStyle(inkStyleProperties, this);
 }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2)
     : this(IntPtr.Zero)
 {
     context2.CreateInkStyle(null, this);
 }
Example #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Ink"/>.
 /// </summary>
 public Ink(DeviceContext2 context2, InkPoint startPoint)
     : this(IntPtr.Zero)
 {
     context2.CreateInk(startPoint, this);
 }