• 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

    Struct D2D1Matrix3X2F

    Represents a 3-by-2 matrix.

    Implements
    IEquatable<D2D1Matrix3X2F>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: JeremyAnsel.DirectX.D2D1
    Assembly: JeremyAnsel.DirectX.D2D1.dll
    Syntax
    public struct D2D1Matrix3X2F : IEquatable<D2D1Matrix3X2F>

    Constructors

    | Edit this page View Source

    D2D1Matrix3X2F(float, float, float, float, float, float)

    Initializes a new instance of the D2D1Matrix3X2F struct.

    Declaration
    public D2D1Matrix3X2F(float m11, float m12, float m21, float m22, float m31, float m32)
    Parameters
    Type Name Description
    float m11

    The value in the first row and first column of the matrix.

    float m12

    The value in the first row and second column of the matrix.

    float m21

    The value in the second row and first column of the matrix.

    float m22

    The value in the second row and second column of the matrix.

    float m31

    The value in the third row and first column of the matrix.

    float m32

    The value in the third row and second column of the matrix.

    | Edit this page View Source

    D2D1Matrix3X2F(float[])

    Initializes a new instance of the D2D1Matrix3X2F struct.

    Declaration
    public D2D1Matrix3X2F(float[] values)
    Parameters
    Type Name Description
    float[] values

    The values of the matrix.

    Properties

    | Edit this page View Source

    Determinant

    Gets the determinant of the matrix.

    Declaration
    public float Determinant { get; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Identity

    Gets an identity matrix.

    Declaration
    public static D2D1Matrix3X2F Identity { get; }
    Property Value
    Type Description
    D2D1Matrix3X2F
    | Edit this page View Source

    IsIdentity

    Gets a value indicating whether the matrix is the identity matrix.

    Declaration
    public bool IsIdentity { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInvertible

    Gets a value indicating whether the matrix is invertible.

    Declaration
    public bool IsInvertible { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    M11

    Gets or sets the value in the first row and first column of the matrix.

    Declaration
    public float M11 { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    M12

    Gets or sets the value in the first row and second column of the matrix.

    Declaration
    public float M12 { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    M21

    Gets or sets the value in the second row and first column of the matrix.

    Declaration
    public float M21 { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    M22

    Gets or sets the value in the second row and second column of the matrix.

    Declaration
    public float M22 { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    M31

    Gets or sets the value in the third row and first column of the matrix.

    Declaration
    public float M31 { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    M32

    Gets or sets the value in the third row and second column of the matrix.

    Declaration
    public float M32 { get; set; }
    Property Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Equals(D2D1Matrix3X2F)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(D2D1Matrix3X2F other)
    Parameters
    Type Name Description
    D2D1Matrix3X2F other

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    | Edit this page View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    Invert()

    Inverts the matrix, if it is invertible.

    Declaration
    public bool Invert()
    Returns
    Type Description
    bool

    true if the matrix was inverted; otherwise, false.

    | Edit this page View Source

    Multiply(D2D1Matrix3X2F, D2D1Matrix3X2F)

    Multiplies the two matrices and stores the result in this matrix.

    Declaration
    public static D2D1Matrix3X2F Multiply(D2D1Matrix3X2F a, D2D1Matrix3X2F b)
    Parameters
    Type Name Description
    D2D1Matrix3X2F a

    The first matrix to multiply.

    D2D1Matrix3X2F b

    The second matrix to multiply.

    Returns
    Type Description
    D2D1Matrix3X2F

    The result matrix.

    | Edit this page View Source

    Rotation(float)

    Creates a rotation transformation that has the specified angle.

    Declaration
    public static D2D1Matrix3X2F Rotation(float angle)
    Parameters
    Type Name Description
    float angle

    The rotation angle in degrees. A positive angle creates a clockwise rotation, and a negative angle creates a counterclockwise rotation.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new rotation transformation.

    | Edit this page View Source

    Rotation(float, D2D1Point2F)

    Creates a rotation transformation that has the specified angle and center point.

    Declaration
    public static D2D1Matrix3X2F Rotation(float angle, D2D1Point2F center)
    Parameters
    Type Name Description
    float angle

    The rotation angle in degrees. A positive angle creates a clockwise rotation, and a negative angle creates a counterclockwise rotation.

    D2D1Point2F center

    The point about which the rotation is performed.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new rotation transformation.

    | Edit this page View Source

    Scale(D2D1SizeF)

    Creates a scale transformation that has the specified scale factors.

    Declaration
    public static D2D1Matrix3X2F Scale(D2D1SizeF size)
    Parameters
    Type Name Description
    D2D1SizeF size

    The x-axis and y-axis scale factors of the scale transformation.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new scale transformation.

    | Edit this page View Source

    Scale(D2D1SizeF, D2D1Point2F)

    Creates a scale transformation that has the specified scale factors and center point.

    Declaration
    public static D2D1Matrix3X2F Scale(D2D1SizeF size, D2D1Point2F center)
    Parameters
    Type Name Description
    D2D1SizeF size

    The x-axis and y-axis scale factors of the scale transformation.

    D2D1Point2F center

    The point about which the scale is performed.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new scale transformation.

    | Edit this page View Source

    Scale(float, float)

    Creates a scale transformation that has the specified scale factors.

    Declaration
    public static D2D1Matrix3X2F Scale(float x, float y)
    Parameters
    Type Name Description
    float x

    The x-axis scale factor of the scale transformation.

    float y

    The y-axis scale factor of the scale transformation.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new scale transformation.

    | Edit this page View Source

    Scale(float, float, D2D1Point2F)

    Creates a scale transformation that has the specified scale factors and center point.

    Declaration
    public static D2D1Matrix3X2F Scale(float x, float y, D2D1Point2F center)
    Parameters
    Type Name Description
    float x

    The x-axis scale factor of the scale transformation.

    float y

    The y-axis scale factor of the scale transformation.

    D2D1Point2F center

    The point about which the scale is performed.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new scale transformation.

    | Edit this page View Source

    Skew(float, float)

    Creates a skew transformation that has the specified x-axis and y-axis values.

    Declaration
    public static D2D1Matrix3X2F Skew(float angleX, float angleY)
    Parameters
    Type Name Description
    float angleX

    The x-axis skew angle, which is measured in degrees counterclockwise from the y-axis.

    float angleY

    The y-axis skew angle, which is measured in degrees clockwise from the x-axis.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new skew transformation.

    | Edit this page View Source

    Skew(float, float, D2D1Point2F)

    Creates a skew transformation that has the specified x-axis and y-axis values and center point.

    Declaration
    public static D2D1Matrix3X2F Skew(float angleX, float angleY, D2D1Point2F center)
    Parameters
    Type Name Description
    float angleX

    The x-axis skew angle, which is measured in degrees counterclockwise from the y-axis.

    float angleY

    The y-axis skew angle, which is measured in degrees clockwise from the x-axis.

    D2D1Point2F center

    The point about which the skew is performed.

    Returns
    Type Description
    D2D1Matrix3X2F

    The new skew transformation.

    | Edit this page View Source

    TranformPoint(D2D1Point2F)

    Uses this matrix to transform the specified point and returns the result.

    Declaration
    public D2D1Point2F TranformPoint(D2D1Point2F point)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to transform.

    Returns
    Type Description
    D2D1Point2F

    The result point.

    | Edit this page View Source

    Translation(D2D1SizeF)

    Creates a translation transformation that has the specified x and y displacements.

    Declaration
    public static D2D1Matrix3X2F Translation(D2D1SizeF size)
    Parameters
    Type Name Description
    D2D1SizeF size

    The distance to translate along the x-axis and the y-axis.

    Returns
    Type Description
    D2D1Matrix3X2F

    A transformation matrix that translates an object the specified horizontal and vertical distance.

    | Edit this page View Source

    Translation(float, float)

    Creates a translation transformation that has the specified x and y displacements.

    Declaration
    public static D2D1Matrix3X2F Translation(float x, float y)
    Parameters
    Type Name Description
    float x

    The distance to translate along the x-axis.

    float y

    The distance to translate along the y-axis.

    Returns
    Type Description
    D2D1Matrix3X2F

    A transformation matrix that translates an object the specified horizontal and vertical distance.

    Operators

    | Edit this page View Source

    operator ==(D2D1Matrix3X2F, D2D1Matrix3X2F)

    Compares two D2D1Matrix3X2F objects. The result specifies whether the values of the two objects are equal.

    Declaration
    public static bool operator ==(D2D1Matrix3X2F left, D2D1Matrix3X2F right)
    Parameters
    Type Name Description
    D2D1Matrix3X2F left

    The left D2D1Matrix3X2F to compare.

    D2D1Matrix3X2F right

    The right D2D1Matrix3X2F to compare.

    Returns
    Type Description
    bool

    true if the values of left and right are equal; otherwise, false.

    | Edit this page View Source

    operator !=(D2D1Matrix3X2F, D2D1Matrix3X2F)

    Compares two D2D1Matrix3X2F objects. The result specifies whether the values of the two objects are unequal.

    Declaration
    public static bool operator !=(D2D1Matrix3X2F left, D2D1Matrix3X2F right)
    Parameters
    Type Name Description
    D2D1Matrix3X2F left

    The left D2D1Matrix3X2F to compare.

    D2D1Matrix3X2F right

    The right D2D1Matrix3X2F to compare.

    Returns
    Type Description
    bool

    true if the values of left and right differ; otherwise, false.

    | Edit this page View Source

    operator *(D2D1Matrix3X2F, D2D1Matrix3X2F)

    Multiplies this matrix with the specified matrix and returns the result.

    Declaration
    public static D2D1Matrix3X2F operator *(D2D1Matrix3X2F left, D2D1Matrix3X2F right)
    Parameters
    Type Name Description
    D2D1Matrix3X2F left

    The left matrix.

    D2D1Matrix3X2F right

    The right matrix.

    Returns
    Type Description
    D2D1Matrix3X2F

    The result matrix

    | Edit this page View Source

    operator *(D2D1Point2F, D2D1Matrix3X2F)

    Uses this matrix to transform the specified point and returns the result.

    Declaration
    public static D2D1Point2F operator *(D2D1Point2F point, D2D1Matrix3X2F matrix)
    Parameters
    Type Name Description
    D2D1Point2F point

    The point to transform.

    D2D1Matrix3X2F matrix

    The transform matrix.

    Returns
    Type Description
    D2D1Point2F

    The result point.

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2014-2022 Jérémy Ansel