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