# `V2Scale`

*Function*

## Declaration

```swift
func V2Scale(_ v: UnsafeMutablePointer<NSPoint>!, _ newlen: Double) -> UnsafeMutablePointer<NSPoint>!
```

```objc
extern NSPoint *V2Scale(NSPoint *v, double newlen);
```

```python
V2Scale(v: NSPoint, newlen: float) -> NSPoint
```

## See Also

### Two-Dimensional Vectors

- [`V2Add`](/Core/GlyphsCore/V2Add)
- [`V2Combine`](/Core/GlyphsCore/V2Combine)
- [`V2DistanceBetween2Points`](/Core/GlyphsCore/V2DistanceBetween2Points)
- [`V2Dot`](/Core/GlyphsCore/V2Dot)
- [`V2Length`](/Core/GlyphsCore/V2Length)
- [`V2Lerp`](/Core/GlyphsCore/V2Lerp)
- [`V2MakePerpendicular`](/Core/GlyphsCore/V2MakePerpendicular)
- [`V2Mul`](/Core/GlyphsCore/V2Mul)
- [`V2Negate`](/Core/GlyphsCore/V2Negate)
- [`V2Normalize`](/Core/GlyphsCore/V2Normalize)
- [`V2SquaredLength`](/Core/GlyphsCore/V2SquaredLength)
- [`V2Sub`](/Core/GlyphsCore/V2Sub)

