Table of Contents

Class Direct2DFactoryExtensions

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll
public static class Direct2DFactoryExtensions
Inheritance
Direct2DFactoryExtensions
Inherited Members

Methods

CombineGeometries(IDirect2DFactory, IGeometry, IGeometry, GeometryCombineMode, in Matrix3x2Float?, float?)
ConvertColors(IDirect2DFactory, IReadOnlyList<ColorRgba128Float>, IColorContext?, IColorContext?)
ConvertColors(IDirect2DFactory, ReadOnlySpan<ColorRgba128Float>, IColorContext?, Span<ColorRgba128Float>, IColorContext?)
CreateArcPathGeometry(IDirect2DFactory, Point2Float, in ArcSegment)
CreateArcPathGeometry(IDirect2DFactory, Point2Float, Point2Float, SizeFloat, float, SweepDirection, ArcSize)
CreateBezierPathGeometry(IDirect2DFactory, Point2Float, in BezierSegment, FillMode)
CreateBezierPathGeometry(IDirect2DFactory, Point2Float, Point2Float, Point2Float, Point2Float, FillMode)
CreateBeziersPathGeometry(IDirect2DFactory, Point2Float, ReadOnlySpan<BezierSegment>, FillMode)
CreateBeziersPathGeometry(IDirect2DFactory, ReadOnlySpan<Point2Float>, FillMode)
CreateBitmapDeviceContext(IDirect2DFactory, IBitmap)
CreateBitmapSourceFromDrawing<TPixel>(IDirect2DFactory, SizeInt32, DevicePixelFormat, Action<IDeviceContext>)
CreateBitmapSourceFromDrawing<TPixel>(IDirect2DFactory, SizeInt32, Action<IDeviceContext>)
CreateBitmapSourceFromImage<TPixel>(IDirect2DFactory, SizeInt32, DevicePixelFormat, Func<IDeviceContext, IDeviceImage>)
CreateBitmapSourceFromImage<TPixel>(IDirect2DFactory, SizeInt32, Func<IDeviceContext, IDeviceImage>)
CreateCurvePathGeometry(IDirect2DFactory, ReadOnlySpan<Point2Float>, FillMode)
CreateEmptyGeometry(IDirect2DFactory)
CreateGeometryFromPathMarkup(IDirect2DFactory, string)

Creates a Direct2D geometry from the given path markup text.

CreateGeometryFromTextLayout(IDirect2DFactory, ITextLayout, Point2Float, bool, in Matrix3x2Float?, float)
CreateGeometryFromTextLayout(IDirect2DFactory, ITextLayout, float, float, bool, in Matrix3x2Float?, float)
CreateGeometryFromWpfGeometry(IDirect2DFactory, Geometry, float?)

Converts a WPF Geometry to a Direct2D IGeometry.

CreateGeometryGroup(IDirect2DFactory, FillMode, IReadOnlyList<IGeometry>)
CreateGeometryGroup(IDirect2DFactory, FillMode, IReadOnlyList<IGeometry>, int, int)
CreateInfiniteGeometry(IDirect2DFactory)
CreateLinePathGeometry(IDirect2DFactory, Point2Float, Point2Float)
CreateLinesPathGeometry(IDirect2DFactory, ReadOnlySpan<Point2Float>, FillMode)
CreatePolygonPathGeometry(IDirect2DFactory, ReadOnlySpan<Point2Float>, FillMode)
CreateStrokeStyle(IDirect2DFactory, CapStyle, CapStyle, CapStyle, LineJoin, float, DashStyle, float, StrokeTransformType)
CreateStrokeStyle(IDirect2DFactory, CapStyle, CapStyle, CapStyle, LineJoin, float, DashStyle, float, ReadOnlySpan<float>, StrokeTransformType)
CreateStrokeStyle(IDirect2DFactory, in StrokeStyleProperties)
RegisterEffectFromBlob(IDirect2DFactory, ReadOnlyMemory<byte>)

Register an effect from a blob that contains the serialized parameters for ID2D1Factory1::RegisterEffectFromStream().