Beispiel #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);
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2)
     :this(IntPtr.Zero)
 {
     context2.CreateInkStyle(null, this);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InkStyle"/>.
 /// </summary>
 public InkStyle(DeviceContext2 context2)
     : this(IntPtr.Zero)
 {
     context2.CreateInkStyle(null, this);
 }
Beispiel #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);
 }