Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NMatrix Structure / CreateScalingMatrix Method / CreateScalingMatrix(Double,Double,NPoint) Method


In This Topic
    CreateScalingMatrix(Double,Double,NPoint) Method
    In This Topic
    Creates a new scale and translation matrix that preserves the location of the specified pin (e.g. scales at pin)
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateScalingMatrix( _
       ByVal scaleX As System.Double, _
       ByVal scaleY As System.Double, _
       ByVal pin As NPoint _
    ) As NMatrix
    'Usage
     
    
    Dim scaleX As System.Double
    Dim scaleY As System.Double
    Dim pin As NPoint
    Dim value As NMatrix
     
    value = NMatrix.CreateScalingMatrix(scaleX, scaleY, pin)
    public static NMatrix CreateScalingMatrix( 
       System.double scaleX,
       System.double scaleY,
       NPoint pin
    )

    Parameters

    scaleX
    scaleY
    pin
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also