• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.DirectX.D2D1
      • D2D1AlphaMode
      • D2D1AntialiasMode
      • D2D1ArcSegment
      • D2D1ArcSize
      • D2D1BezierSegment
      • D2D1Bitmap
      • D2D1BitmapBrush
      • D2D1BitmapBrushProperties
      • D2D1BitmapInterpolationMode
      • D2D1BitmapProperties
      • D2D1BitmapRenderTarget
      • D2D1Brush
      • D2D1BrushProperties
      • D2D1CapStyle
      • D2D1ColorF
      • D2D1CombineMode
      • D2D1CompatibleRenderTargetOptions
      • D2D1Constants
      • D2D1DCInitializeMode
      • D2D1DCRenderTarget
      • D2D1DashStyle
      • D2D1DebugLevel
      • D2D1DrawTextOptions
      • D2D1DrawingStateBlock
      • D2D1DrawingStateDescription
      • D2D1Ellipse
      • D2D1EllipseGeometry
      • D2D1Error
      • D2D1ExtendMode
      • D2D1Factory
      • D2D1FactoryOptions
      • D2D1FactoryType
      • D2D1FeatureLevel
      • D2D1FigureBegin
      • D2D1FigureEnd
      • D2D1FillMode
      • D2D1Gamma
      • D2D1Geometry
      • D2D1GeometryGroup
      • D2D1GeometryRelation
      • D2D1GeometrySimplificationOption
      • D2D1GeometrySink
      • D2D1GradientStop
      • D2D1GradientStopCollection
      • D2D1HwndRenderTarget
      • D2D1HwndRenderTargetProperties
      • D2D1Image
      • D2D1InterpolationModeDefinition
      • D2D1KnownColor
      • D2D1Layer
      • D2D1LayerOptions
      • D2D1LayerParameters
      • D2D1LineJoin
      • D2D1LinearGradientBrush
      • D2D1LinearGradientBrushProperties
      • D2D1Matrix3X2F
      • D2D1Matrix4X3F
      • D2D1Matrix4X4F
      • D2D1Matrix5X4F
      • D2D1Mesh
      • D2D1OpacityMaskContent
      • D2D1PathGeometry
      • D2D1PathSegmentOptions
      • D2D1PixelFormat
      • D2D1Point2F
      • D2D1Point2L
      • D2D1Point2U
      • D2D1PresentOptions
      • D2D1QuadraticBezierSegment
      • D2D1RadialGradientBrush
      • D2D1RadialGradientBrushProperties
      • D2D1RectF
      • D2D1RectL
      • D2D1RectU
      • D2D1RectangleGeometry
      • D2D1RenderTarget
      • D2D1RenderTargetProperties
      • D2D1RenderTargetType
      • D2D1RenderTargetUsages
      • D2D1Resource
      • D2D1RoundedRect
      • D2D1RoundedRectangleGeometry
      • D2D1SimplifiedGeometrySink
      • D2D1SizeF
      • D2D1SizeU
      • D2D1SolidColorBrush
      • D2D1StrokeStyle
      • D2D1StrokeStyleProperties
      • D2D1SweepDirection
      • D2D1TessellationSink
      • D2D1TextAntialiasMode
      • D2D1TransformedGeometry
      • D2D1Triangle
      • D2D1Utils
      • D2D1Vector2F
      • D2D1Vector3F
      • D2D1Vector4F
      • D2D1WindowStates
      • ID2D1Releasable
    • JeremyAnsel.DirectX.D3D10
      • D3D10CreateDeviceOptions
      • D3D10Device1
      • D3D10DriverType
      • D3D10Error
      • D3D10FeatureLevel
      • D3D10Utils
      • ID3D10Releasable
    • JeremyAnsel.DirectX.D3D11
      • D3D11AsyncGetDataOptions
      • D3D11Asynchronous
      • D3D11BindOptions
      • D3D11BlendDesc
      • D3D11BlendOperation
      • D3D11BlendState
      • D3D11BlendValue
      • D3D11Box
      • D3D11Buffer
      • D3D11BufferDesc
      • D3D11BufferExSrv
      • D3D11BufferExSrvOptions
      • D3D11BufferRtv
      • D3D11BufferSrv
      • D3D11BufferUav
      • D3D11BufferUavOptions
      • D3D11ClassInstance
      • D3D11ClassInstanceDesc
      • D3D11ClassLinkage
      • D3D11ClearOptions
      • D3D11ColorWriteEnables
      • D3D11CommandList
      • D3D11ComparisonFunction
      • D3D11ComputeShader
      • D3D11Constants
      • D3D11Counter
      • D3D11CounterDataType
      • D3D11CounterDesc
      • D3D11CounterInfo
      • D3D11CounterType
      • D3D11CpuAccessOptions
      • D3D11CreateDeviceOptions
      • D3D11CullMode
      • D3D11DepthStencilDesc
      • D3D11DepthStencilOperationDesc
      • D3D11DepthStencilState
      • D3D11DepthStencilView
      • D3D11DepthStencilViewDesc
      • D3D11DepthStencilViewOptions
      • D3D11DepthWriteMask
      • D3D11Device
      • D3D11DeviceChild
      • D3D11DeviceContext
      • D3D11DeviceContextType
      • D3D11DomainShader
      • D3D11DriverType
      • D3D11DsvDimension
      • D3D11Error
      • D3D11Feature
      • D3D11FeatureDataArchitectureInfo
      • D3D11FeatureDataD3D10XHardwareOptions
      • D3D11FeatureDataD3D11Options
      • D3D11FeatureDataD3D11Options1
      • D3D11FeatureDataD3D9Options
      • D3D11FeatureDataD3D9Options1
      • D3D11FeatureDataD3D9ShadowSupport
      • D3D11FeatureDataD3D9SimpleInstancingSupport
      • D3D11FeatureDataDoubles
      • D3D11FeatureDataFormatSupport
      • D3D11FeatureDataFormatSupport2
      • D3D11FeatureDataMarkerSupport
      • D3D11FeatureDataShaderMinPrecisionSupport
      • D3D11FeatureDataThreading
      • D3D11FeatureLevel
      • D3D11FillMode
      • D3D11Filter
      • D3D11FormatSupport
      • D3D11FormatSupport2
      • D3D11GeometryShader
      • D3D11HullShader
      • D3D11InputClassification
      • D3D11InputElementDesc
      • D3D11InputLayout
      • D3D11MapCpuPermission
      • D3D11MapOptions
      • D3D11MappedSubResource
      • D3D11PixelShader
      • D3D11Predicate
      • D3D11Primitive
      • D3D11PrimitiveTopology
      • D3D11Query
      • D3D11QueryDataPipelineStatistics
      • D3D11QueryDataStreamOutputStatistics
      • D3D11QueryDataTimestampDisjoint
      • D3D11QueryDesc
      • D3D11QueryMiscOptions
      • D3D11QueryType
      • D3D11RaiseOptions
      • D3D11RasterizerDesc
      • D3D11RasterizerState
      • D3D11Rect
      • D3D11RenderTargetBlendDesc
      • D3D11RenderTargetView
      • D3D11RenderTargetViewDesc
      • D3D11Resource
      • D3D11ResourceDimension
      • D3D11ResourceMiscOptions
      • D3D11RtvDimension
      • D3D11SamplerDesc
      • D3D11SamplerState
      • D3D11ShaderMinPrecisionSupports
      • D3D11ShaderResourceView
      • D3D11ShaderResourceViewDesc
      • D3D11SrvDimension
      • D3D11StencilOperation
      • D3D11StreamOutputDeclarationEntry
      • D3D11SubResourceData
      • D3D11Texture1D
      • D3D11Texture1DArrayDsv
      • D3D11Texture1DArrayRtv
      • D3D11Texture1DArraySrv
      • D3D11Texture1DArrayUav
      • D3D11Texture1DDesc
      • D3D11Texture1DDsv
      • D3D11Texture1DRtv
      • D3D11Texture1DSrv
      • D3D11Texture1DUav
      • D3D11Texture2D
      • D3D11Texture2DArrayDsv
      • D3D11Texture2DArrayRtv
      • D3D11Texture2DArraySrv
      • D3D11Texture2DArrayUav
      • D3D11Texture2DDesc
      • D3D11Texture2DDsv
      • D3D11Texture2DMsArrayDsv
      • D3D11Texture2DMsArrayRtv
      • D3D11Texture2DMsArraySrv
      • D3D11Texture2DMsDsv
      • D3D11Texture2DMsRtv
      • D3D11Texture2DMsSrv
      • D3D11Texture2DRtv
      • D3D11Texture2DSrv
      • D3D11Texture2DUav
      • D3D11Texture3D
      • D3D11Texture3DDesc
      • D3D11Texture3DRtv
      • D3D11Texture3DSrv
      • D3D11Texture3DUav
      • D3D11TextureAddressMode
      • D3D11TextureCubeArraySrv
      • D3D11TextureCubeFace
      • D3D11TextureCubeSrv
      • D3D11TiledResourcesTier
      • D3D11UavDimension
      • D3D11UnorderedAccessView
      • D3D11UnorderedAccessViewDesc
      • D3D11Usage
      • D3D11Utils
      • D3D11VertexShader
      • D3D11View
      • D3D11Viewport
      • D3D11WellKnownPrivateDataId
      • DxgiSwapChainExtensions
      • ID3D11Releasable
    • JeremyAnsel.DirectX.D3DCompiler
      • D3DCompile
      • D3DCompileOptions
      • D3DDisassembleOptions
      • D3DShaderMacro
      • D3DTargets
    • JeremyAnsel.DirectX.DWrite
      • DWriteBreakCondition
      • DWriteClusterMetrics
      • DWriteError
      • DWriteFactory
      • DWriteFactoryType
      • DWriteFlowDirection
      • DWriteFont
      • DWriteFontCollection
      • DWriteFontFace
      • DWriteFontFaceType
      • DWriteFontFamily
      • DWriteFontFeature
      • DWriteFontFeatureTag
      • DWriteFontFile
      • DWriteFontFileType
      • DWriteFontList
      • DWriteFontMetrics
      • DWriteFontSimulations
      • DWriteFontStretch
      • DWriteFontStyle
      • DWriteFontWeight
      • DWriteGlyphMetrics
      • DWriteGlyphOffset
      • DWriteGlyphRun
      • DWriteGlyphRunDescription
      • DWriteHitTestMetrics
      • DWriteInformationalStringId
      • DWriteInlineObjectMetrics
      • DWriteLineBreakpoint
      • DWriteLineMetrics
      • DWriteLineSpacingMethod
      • DWriteLocalizedStrings
      • DWriteMatrix
      • DWriteMeasuringMode
      • DWriteNumberSubstitutionMethod
      • DWriteOverhangMetrics
      • DWriteParagraphAlignment
      • DWritePixelGeometry
      • DWriteReadingDirection
      • DWriteRect
      • DWriteRenderingMode
      • DWriteRenderingParams
      • DWriteScriptAnalysis
      • DWriteScriptShape
      • DWriteShapingGlyphProperties
      • DWriteShapingTextProperties
      • DWriteSize
      • DWriteStrikethrough
      • DWriteTextAlignment
      • DWriteTextFormat
      • DWriteTextLayout
      • DWriteTextMetrics
      • DWriteTextRange
      • DWriteTextureType
      • DWriteTrimming
      • DWriteTrimmingGranularity
      • DWriteTypography
      • DWriteUnderline
      • DWriteUtils
      • DWriteWordWrapping
      • IDWriteReleasable
    • JeremyAnsel.DirectX.DXMath
      • XMColor
      • XMComparisonRecord
      • XMFloat2
      • XMFloat3
      • XMFloat3X3
      • XMFloat4
      • XMFloat4X3
      • XMFloat4X4
      • XMInt2
      • XMInt3
      • XMInt4
      • XMKnownColor
      • XMMath
      • XMMatrix
      • XMPermutation
      • XMPlane
      • XMQuaternion
      • XMScalar
      • XMSelection
      • XMSwizzle
      • XMUInt2
      • XMUInt3
      • XMUInt4
      • XMVector
      • XMVector2
      • XMVector3
      • XMVector4
    • JeremyAnsel.DirectX.DXMath.Collision
      • BoundingBox
      • BoundingFrustum
      • BoundingOrientedBox
      • BoundingSphere
      • ContainmentType
      • PlaneIntersectionType
      • TriangleTest
    • JeremyAnsel.DirectX.DXMath.PackedVector
      • Half
      • XMByte2
      • XMByte4
      • XMByteN2
      • XMByteN4
      • XMColorRgba
      • XMDec4
      • XMDecN4
      • XMFloat3Packed
      • XMFloat3SharedExponent
      • XMHalf2
      • XMHalf4
      • XMShort2
      • XMShort4
      • XMShortN2
      • XMShortN4
      • XMU555
      • XMU565
      • XMUByte2
      • XMUByte4
      • XMUByteN2
      • XMUByteN4
      • XMUDec4
      • XMUDecN4
      • XMUDecN4XR
      • XMUNibble4
      • XMUShort2
      • XMUShort4
      • XMUShortN2
      • XMUShortN4
      • XMXDec4
      • XMXDecN4
    • JeremyAnsel.DirectX.Dxgi
      • DxgiAdapter
      • DxgiAdapter1
      • DxgiAdapter2
      • DxgiAdapter3
      • DxgiAdapterDesc
      • DxgiAdapterDesc1
      • DxgiAdapterDesc2
      • DxgiAdapterType
      • DxgiAlphaMode
      • DxgiColorRgb
      • DxgiColorRgba
      • DxgiComputePreemptionGranularity
      • DxgiCpuAccess
      • DxgiCreateFactoryOptions
      • DxgiDevice
      • DxgiDevice1
      • DxgiDevice2
      • DxgiDevice3
      • DxgiDeviceSubObject
      • DxgiEnumModes
      • DxgiError
      • DxgiFactory
      • DxgiFactory1
      • DxgiFactory2
      • DxgiFactory3
      • DxgiFormat
      • DxgiFrameStatistics
      • DxgiGammaControl
      • DxgiGammaControlCapabilities
      • DxgiGraphicsPreemptionGranularity
      • DxgiKeyedMutex
      • DxgiMapOptions
      • DxgiMappedRect
      • DxgiMatrix3x2F
      • DxgiModeDesc
      • DxgiModeDesc1
      • DxgiModeRotation
      • DxgiModeScaling
      • DxgiModeScanlineOrder
      • DxgiObject
      • DxgiOfferResourcePriority
      • DxgiOutput
      • DxgiOutput1
      • DxgiOutput2
      • DxgiOutput3
      • DxgiOutputDesc
      • DxgiPoint
      • DxgiPresentOptions
      • DxgiRational
      • DxgiRect
      • DxgiResidency
      • DxgiResource
      • DxgiResource1
      • DxgiResource2
      • DxgiResource3
      • DxgiResourceEvictionPriority
      • DxgiSampleDesc
      • DxgiScaling
      • DxgiSharedResource
      • DxgiSharedResourceAccess
      • DxgiSurface
      • DxgiSurface1
      • DxgiSurface2
      • DxgiSurface3
      • DxgiSurfaceDesc
      • DxgiSwapChain
      • DxgiSwapChain1
      • DxgiSwapChain2
      • DxgiSwapChain3
      • DxgiSwapChainDesc
      • DxgiSwapChainDesc1
      • DxgiSwapChainFullscreenDesc
      • DxgiSwapChainOptions
      • DxgiSwapEffect
      • DxgiUsages
      • DxgiUtils
      • DxgiWindowAssociationOptions
      • IDxgiReleasable

    Class D2D1Geometry

    Represents a geometry resource and defines a set of helper methods for manipulating and measuring geometric shapes.

    Inheritance
    object
    D2D1Resource
    D2D1Geometry
    D2D1EllipseGeometry
    D2D1GeometryGroup
    D2D1PathGeometry
    D2D1RectangleGeometry
    D2D1RoundedRectangleGeometry
    D2D1TransformedGeometry
    Implements
    IDisposable
    ID2D1Releasable
    Inherited Members
    D2D1Resource.Handle
    D2D1Resource.ToBoolean()
    D2D1Resource.Dispose()
    D2D1Resource.Release()
    D2D1Resource.GetFactory()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: JeremyAnsel.DirectX.D2D1
    Assembly: JeremyAnsel.DirectX.D2D1.dll
    Syntax
    public abstract class D2D1Geometry : D2D1Resource, IDisposable, ID2D1Releasable

    Methods

    | Edit this page View Source

    CombineWithGeometry(D2D1Geometry, D2D1CombineMode, D2D1Matrix3X2F, D2D1SimplifiedGeometrySink)

    Performs a combine operation between the two geometries to produce a resulting geometry.

    Declaration
    public void CombineWithGeometry(D2D1Geometry inputGeometry, D2D1CombineMode combineMode, D2D1Matrix3X2F inputGeometryTransform, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to combine with this instance.

    D2D1CombineMode combineMode

    The type of combine operation to perform.

    D2D1Matrix3X2F inputGeometryTransform

    The transform to apply to inputGeometry before combining.

    D2D1SimplifiedGeometrySink geometrySink

    The result of the combine operation.

    | Edit this page View Source

    CombineWithGeometry(D2D1Geometry, D2D1CombineMode, D2D1Matrix3X2F, float, D2D1SimplifiedGeometrySink)

    Performs a combine operation between the two geometries to produce a resulting geometry.

    Declaration
    public void CombineWithGeometry(D2D1Geometry inputGeometry, D2D1CombineMode combineMode, D2D1Matrix3X2F inputGeometryTransform, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to combine with this instance.

    D2D1CombineMode combineMode

    The type of combine operation to perform.

    D2D1Matrix3X2F inputGeometryTransform

    The transform to apply to inputGeometry before combining.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The result of the combine operation.

    | Edit this page View Source

    CombineWithGeometry(D2D1Geometry, D2D1CombineMode, D2D1SimplifiedGeometrySink)

    Performs a combine operation between the two geometries to produce a resulting geometry.

    Declaration
    public void CombineWithGeometry(D2D1Geometry inputGeometry, D2D1CombineMode combineMode, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to combine with this instance.

    D2D1CombineMode combineMode

    The type of combine operation to perform.

    D2D1SimplifiedGeometrySink geometrySink

    The result of the combine operation.

    | Edit this page View Source

    CombineWithGeometry(D2D1Geometry, D2D1CombineMode, float, D2D1SimplifiedGeometrySink)

    Performs a combine operation between the two geometries to produce a resulting geometry.

    Declaration
    public void CombineWithGeometry(D2D1Geometry inputGeometry, D2D1CombineMode combineMode, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to combine with this instance.

    D2D1CombineMode combineMode

    The type of combine operation to perform.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The result of the combine operation.

    | Edit this page View Source

    CompareWithGeometry(D2D1Geometry)

    Describes the intersection between this geometry and the specified geometry.

    Declaration
    public D2D1GeometryRelation CompareWithGeometry(D2D1Geometry inputGeometry)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to test.

    Returns
    Type Description
    D2D1GeometryRelation

    A value that describes how this geometry is related to inputGeometry.

    | Edit this page View Source

    CompareWithGeometry(D2D1Geometry, D2D1Matrix3X2F)

    Describes the intersection between this geometry and the specified geometry.

    Declaration
    public D2D1GeometryRelation CompareWithGeometry(D2D1Geometry inputGeometry, D2D1Matrix3X2F inputGeometryTransform)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to test.

    D2D1Matrix3X2F inputGeometryTransform

    The transform to apply to inputGeometry.

    Returns
    Type Description
    D2D1GeometryRelation

    A value that describes how this geometry is related to inputGeometry.

    | Edit this page View Source

    CompareWithGeometry(D2D1Geometry, D2D1Matrix3X2F, float)

    Describes the intersection between this geometry and the specified geometry.

    Declaration
    public D2D1GeometryRelation CompareWithGeometry(D2D1Geometry inputGeometry, D2D1Matrix3X2F inputGeometryTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to test.

    D2D1Matrix3X2F inputGeometryTransform

    The transform to apply to inputGeometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    D2D1GeometryRelation

    A value that describes how this geometry is related to inputGeometry.

    | Edit this page View Source

    CompareWithGeometry(D2D1Geometry, float)

    Describes the intersection between this geometry and the specified geometry.

    Declaration
    public D2D1GeometryRelation CompareWithGeometry(D2D1Geometry inputGeometry, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Geometry inputGeometry

    The geometry to test.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    D2D1GeometryRelation

    A value that describes how this geometry is related to inputGeometry.

    | Edit this page View Source

    ComputeArea()

    Computes the area of the geometry.

    Declaration
    public float ComputeArea()
    Returns
    Type Description
    float

    The area of the transformed, flattened version of this geometry.

    | Edit this page View Source

    ComputeArea(D2D1Matrix3X2F)

    Computes the area of the geometry.

    Declaration
    public float ComputeArea(D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to this geometry before computing its area.

    Returns
    Type Description
    float

    The area of the transformed, flattened version of this geometry.

    | Edit this page View Source

    ComputeArea(D2D1Matrix3X2F, float)

    Computes the area of the geometry.

    Declaration
    public float ComputeArea(D2D1Matrix3X2F worldTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to this geometry before computing its area.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    float

    The area of the transformed, flattened version of this geometry.

    | Edit this page View Source

    ComputeArea(float)

    Computes the area of the geometry.

    Declaration
    public float ComputeArea(float flatteningTolerance)
    Parameters
    Type Name Description
    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    float

    The area of the transformed, flattened version of this geometry.

    | Edit this page View Source

    ComputeLength()

    Computes the length of the geometry.

    Declaration
    public float ComputeLength()
    Returns
    Type Description
    float

    The length of the geometry. For closed geometries, the length includes an implicit closing segment.

    | Edit this page View Source

    ComputeLength(D2D1Matrix3X2F)

    Computes the length of the geometry.

    Declaration
    public float ComputeLength(D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry before calculating its length.

    Returns
    Type Description
    float

    The length of the geometry. For closed geometries, the length includes an implicit closing segment.

    | Edit this page View Source

    ComputeLength(D2D1Matrix3X2F, float)

    Computes the length of the geometry.

    Declaration
    public float ComputeLength(D2D1Matrix3X2F worldTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry before calculating its length.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    float

    The length of the geometry. For closed geometries, the length includes an implicit closing segment.

    | Edit this page View Source

    ComputeLength(float)

    Computes the length of the geometry.

    Declaration
    public float ComputeLength(float flatteningTolerance)
    Parameters
    Type Name Description
    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    Returns
    Type Description
    float

    The length of the geometry. For closed geometries, the length includes an implicit closing segment.

    | Edit this page View Source

    ComputePointAtLength(float, D2D1Matrix3X2F, out D2D1Point2F, out D2D1Point2F)

    Computes the point and tangent a given distance along the path.

    Declaration
    public void ComputePointAtLength(float length, D2D1Matrix3X2F worldTransform, out D2D1Point2F point, out D2D1Point2F unitTangentVector)
    Parameters
    Type Name Description
    float length

    The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry before calculating the specified point and tangent.

    D2D1Point2F point

    The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.

    D2D1Point2F unitTangentVector

    The tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.

    | Edit this page View Source

    ComputePointAtLength(float, D2D1Matrix3X2F, float, out D2D1Point2F, out D2D1Point2F)

    Computes the point and tangent a given distance along the path.

    Declaration
    public void ComputePointAtLength(float length, D2D1Matrix3X2F worldTransform, float flatteningTolerance, out D2D1Point2F point, out D2D1Point2F unitTangentVector)
    Parameters
    Type Name Description
    float length

    The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry before calculating the specified point and tangent.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1Point2F point

    The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.

    D2D1Point2F unitTangentVector

    The tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.

    | Edit this page View Source

    ComputePointAtLength(float, out D2D1Point2F, out D2D1Point2F)

    Computes the point and tangent a given distance along the path.

    Declaration
    public void ComputePointAtLength(float length, out D2D1Point2F point, out D2D1Point2F unitTangentVector)
    Parameters
    Type Name Description
    float length

    The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.

    D2D1Point2F point

    The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.

    D2D1Point2F unitTangentVector

    The tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.

    | Edit this page View Source

    ComputePointAtLength(float, float, out D2D1Point2F, out D2D1Point2F)

    Computes the point and tangent a given distance along the path.

    Declaration
    public void ComputePointAtLength(float length, float flatteningTolerance, out D2D1Point2F point, out D2D1Point2F unitTangentVector)
    Parameters
    Type Name Description
    float length

    The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1Point2F point

    The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.

    D2D1Point2F unitTangentVector

    The tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.

    | Edit this page View Source

    FillContainPoint(D2D1Point2F)

    Indicates whether the area filled by the geometry would contain the specified point.

    Declaration
    public bool FillContainPoint(D2D1Point2F point)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test.

    Returns
    Type Description
    bool

    When this method returns, contains a boolean value that is true if the area filled by the geometry contains point; otherwise, false.

    | Edit this page View Source

    FillContainPoint(D2D1Point2F, D2D1Matrix3X2F)

    Indicates whether the area filled by the geometry would contain the specified point.

    Declaration
    public bool FillContainPoint(D2D1Point2F point, D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry prior to testing for containment.

    Returns
    Type Description
    bool

    When this method returns, contains a boolean value that is true if the area filled by the geometry contains point; otherwise, false.

    | Edit this page View Source

    FillContainPoint(D2D1Point2F, D2D1Matrix3X2F, float)

    Indicates whether the area filled by the geometry would contain the specified point.

    Declaration
    public bool FillContainPoint(D2D1Point2F point, D2D1Matrix3X2F worldTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry prior to testing for containment.

    float flatteningTolerance

    The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside.

    Returns
    Type Description
    bool

    When this method returns, contains a boolean value that is true if the area filled by the geometry contains point; otherwise, false.

    | Edit this page View Source

    FillContainPoint(D2D1Point2F, float)

    Indicates whether the area filled by the geometry would contain the specified point.

    Declaration
    public bool FillContainPoint(D2D1Point2F point, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test.

    float flatteningTolerance

    The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside.

    Returns
    Type Description
    bool

    When this method returns, contains a boolean value that is true if the area filled by the geometry contains point; otherwise, false.

    | Edit this page View Source

    GetBounds()

    Retrieves the bounds of the geometry.

    Declaration
    public D2D1RectF GetBounds()
    Returns
    Type Description
    D2D1RectF

    The bounds of this geometry.

    | Edit this page View Source

    GetBounds(D2D1Matrix3X2F)

    Retrieves the bounds of the geometry.

    Declaration
    public D2D1RectF GetBounds(D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to this geometry before calculating its bounds, or NULL.

    Returns
    Type Description
    D2D1RectF

    The bounds of this geometry.

    | Edit this page View Source

    GetWidenedBounds(float, D2D1StrokeStyle)

    Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.

    Declaration
    public D2D1RectF GetWidenedBounds(float strokeWidth, D2D1StrokeStyle strokeStyle)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry by stroking its outline.

    D2D1StrokeStyle strokeStyle

    The style of the stroke that widens the geometry.

    Returns
    Type Description
    D2D1RectF

    The bounds of the widened geometry.

    | Edit this page View Source

    GetWidenedBounds(float, D2D1StrokeStyle, D2D1Matrix3X2F)

    Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.

    Declaration
    public D2D1RectF GetWidenedBounds(float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry by stroking its outline.

    D2D1StrokeStyle strokeStyle

    The style of the stroke that widens the geometry.

    D2D1Matrix3X2F worldTransform

    A transform to apply to the geometry after the geometry is transformed and after the geometry has been stroked.

    Returns
    Type Description
    D2D1RectF

    The bounds of the widened geometry.

    | Edit this page View Source

    GetWidenedBounds(float, D2D1StrokeStyle, D2D1Matrix3X2F, float)

    Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.

    Declaration
    public D2D1RectF GetWidenedBounds(float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry by stroking its outline.

    D2D1StrokeStyle strokeStyle

    The style of the stroke that widens the geometry.

    D2D1Matrix3X2F worldTransform

    A transform to apply to the geometry after the geometry is transformed and after the geometry has been stroked.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance. Smaller values produce more accurate results but cause slower execution.

    Returns
    Type Description
    D2D1RectF

    The bounds of the widened geometry.

    | Edit this page View Source

    GetWidenedBounds(float, D2D1StrokeStyle, float)

    Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.

    Declaration
    public D2D1RectF GetWidenedBounds(float strokeWidth, D2D1StrokeStyle strokeStyle, float flatteningTolerance)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry by stroking its outline.

    D2D1StrokeStyle strokeStyle

    The style of the stroke that widens the geometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance. Smaller values produce more accurate results but cause slower execution.

    Returns
    Type Description
    D2D1RectF

    The bounds of the widened geometry.

    | Edit this page View Source

    Outline(D2D1Matrix3X2F, D2D1SimplifiedGeometrySink)

    Computes the outline of the geometry. The result is written back into a simplified geometry sink.

    Declaration
    public void Outline(D2D1Matrix3X2F worldTransform, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry outline.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the geometry's transformed outline is appended.

    | Edit this page View Source

    Outline(D2D1Matrix3X2F, float, D2D1SimplifiedGeometrySink)

    Computes the outline of the geometry. The result is written back into a simplified geometry sink.

    Declaration
    public void Outline(D2D1Matrix3X2F worldTransform, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry outline.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the geometry's transformed outline is appended.

    | Edit this page View Source

    Outline(D2D1SimplifiedGeometrySink)

    Computes the outline of the geometry. The result is written back into a simplified geometry sink.

    Declaration
    public void Outline(D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the geometry's transformed outline is appended.

    | Edit this page View Source

    Outline(float, D2D1SimplifiedGeometrySink)

    Computes the outline of the geometry. The result is written back into a simplified geometry sink.

    Declaration
    public void Outline(float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the geometry's transformed outline is appended.

    | Edit this page View Source

    Simplify(D2D1GeometrySimplificationOption, D2D1Matrix3X2F, D2D1SimplifiedGeometrySink)

    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an D2D1SimplifiedGeometrySink.

    Declaration
    public void Simplify(D2D1GeometrySimplificationOption simplificationOption, D2D1Matrix3X2F worldTransform, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1GeometrySimplificationOption simplificationOption

    A value that specifies whether the simplified geometry should contain curves.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the simplified geometry.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the simplified geometry is appended.

    | Edit this page View Source

    Simplify(D2D1GeometrySimplificationOption, D2D1Matrix3X2F, float, D2D1SimplifiedGeometrySink)

    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an D2D1SimplifiedGeometrySink.

    Declaration
    public void Simplify(D2D1GeometrySimplificationOption simplificationOption, D2D1Matrix3X2F worldTransform, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1GeometrySimplificationOption simplificationOption

    A value that specifies whether the simplified geometry should contain curves.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the simplified geometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the simplified geometry is appended.

    | Edit this page View Source

    Simplify(D2D1GeometrySimplificationOption, D2D1SimplifiedGeometrySink)

    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an D2D1SimplifiedGeometrySink.

    Declaration
    public void Simplify(D2D1GeometrySimplificationOption simplificationOption, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1GeometrySimplificationOption simplificationOption

    A value that specifies whether the simplified geometry should contain curves.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the simplified geometry is appended.

    | Edit this page View Source

    Simplify(D2D1GeometrySimplificationOption, float, D2D1SimplifiedGeometrySink)

    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an D2D1SimplifiedGeometrySink.

    Declaration
    public void Simplify(D2D1GeometrySimplificationOption simplificationOption, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    D2D1GeometrySimplificationOption simplificationOption

    A value that specifies whether the simplified geometry should contain curves.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the simplified geometry is appended.

    | Edit this page View Source

    StrokeContainsPoint(D2D1Point2F, float, D2D1StrokeStyle)

    Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.

    Declaration
    public bool StrokeContainsPoint(D2D1Point2F point, float strokeWidth, D2D1StrokeStyle strokeStyle)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test for containment.

    float strokeWidth

    The thickness of the stroke to apply.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply.

    Returns
    Type Description
    bool

    A value set to true if the geometry's stroke contains the specified point; otherwise, false.

    | Edit this page View Source

    StrokeContainsPoint(D2D1Point2F, float, D2D1StrokeStyle, D2D1Matrix3X2F)

    Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.

    Declaration
    public bool StrokeContainsPoint(D2D1Point2F point, float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test for containment.

    float strokeWidth

    The thickness of the stroke to apply.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the stroked geometry.

    Returns
    Type Description
    bool

    A value set to true if the geometry's stroke contains the specified point; otherwise, false.

    | Edit this page View Source

    StrokeContainsPoint(D2D1Point2F, float, D2D1StrokeStyle, D2D1Matrix3X2F, float)

    Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.

    Declaration
    public bool StrokeContainsPoint(D2D1Point2F point, float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test for containment.

    float strokeWidth

    The thickness of the stroke to apply.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the stroked geometry.

    float flatteningTolerance

    The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the stroke by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.

    Returns
    Type Description
    bool

    A value set to true if the geometry's stroke contains the specified point; otherwise, false.

    | Edit this page View Source

    StrokeContainsPoint(D2D1Point2F, float, D2D1StrokeStyle, float)

    Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.

    Declaration
    public bool StrokeContainsPoint(D2D1Point2F point, float strokeWidth, D2D1StrokeStyle strokeStyle, float flatteningTolerance)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to test for containment.

    float strokeWidth

    The thickness of the stroke to apply.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply.

    float flatteningTolerance

    The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the stroke by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.

    Returns
    Type Description
    bool

    A value set to true if the geometry's stroke contains the specified point; otherwise, false.

    | Edit this page View Source

    Tessellate(D2D1Matrix3X2F, D2D1TessellationSink)

    Tessellates a geometry into triangles.

    Declaration
    public void Tessellate(D2D1Matrix3X2F worldTransform, D2D1TessellationSink tessellationSink)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to this geometry.

    D2D1TessellationSink tessellationSink

    The D2D1TessellationSink to which the tessellated is appended.

    | Edit this page View Source

    Tessellate(D2D1Matrix3X2F, float, D2D1TessellationSink)

    Tessellates a geometry into triangles.

    Declaration
    public void Tessellate(D2D1Matrix3X2F worldTransform, float flatteningTolerance, D2D1TessellationSink tessellationSink)
    Parameters
    Type Name Description
    D2D1Matrix3X2F worldTransform

    The transform to apply to this geometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1TessellationSink tessellationSink

    The D2D1TessellationSink to which the tessellated is appended.

    | Edit this page View Source

    Tessellate(D2D1TessellationSink)

    Tessellates a geometry into triangles.

    Declaration
    public void Tessellate(D2D1TessellationSink tessellationSink)
    Parameters
    Type Name Description
    D2D1TessellationSink tessellationSink

    The D2D1TessellationSink to which the tessellated is appended.

    | Edit this page View Source

    Tessellate(float, D2D1TessellationSink)

    Tessellates a geometry into triangles.

    Declaration
    public void Tessellate(float flatteningTolerance, D2D1TessellationSink tessellationSink)
    Parameters
    Type Name Description
    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1TessellationSink tessellationSink

    The D2D1TessellationSink to which the tessellated is appended.

    | Edit this page View Source

    Widen(float, D2D1StrokeStyle, D2D1Matrix3X2F, D2D1SimplifiedGeometrySink)

    Get the geometry and widen it as well as apply an optional pen style.

    Declaration
    public void Widen(float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply to the geometry.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry after widening it.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the widened geometry is appended.

    | Edit this page View Source

    Widen(float, D2D1StrokeStyle, D2D1Matrix3X2F, float, D2D1SimplifiedGeometrySink)

    Get the geometry and widen it as well as apply an optional pen style.

    Declaration
    public void Widen(float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1Matrix3X2F worldTransform, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply to the geometry.

    D2D1Matrix3X2F worldTransform

    The transform to apply to the geometry after widening it.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the widened geometry is appended.

    | Edit this page View Source

    Widen(float, D2D1StrokeStyle, D2D1SimplifiedGeometrySink)

    Get the geometry and widen it as well as apply an optional pen style.

    Declaration
    public void Widen(float strokeWidth, D2D1StrokeStyle strokeStyle, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply to the geometry.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the widened geometry is appended.

    | Edit this page View Source

    Widen(float, D2D1StrokeStyle, float, D2D1SimplifiedGeometrySink)

    Get the geometry and widen it as well as apply an optional pen style.

    Declaration
    public void Widen(float strokeWidth, D2D1StrokeStyle strokeStyle, float flatteningTolerance, D2D1SimplifiedGeometrySink geometrySink)
    Parameters
    Type Name Description
    float strokeWidth

    The amount by which to widen the geometry.

    D2D1StrokeStyle strokeStyle

    The style of stroke to apply to the geometry.

    float flatteningTolerance

    The maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance.

    D2D1SimplifiedGeometrySink geometrySink

    The D2D1SimplifiedGeometrySink to which the widened geometry is appended.

    Implements

    IDisposable
    ID2D1Releasable
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2014-2022 Jérémy Ansel