# `writeTransform`

*Function*

## Declaration

```swift
func writeTransform(_ file: UnsafeMutablePointer<FILE>, _ ts: NSAffineTransformStruct, _ compact: Bool) -> Bool
```

```objc
BOOL writeTransform(FILE *file, NSAffineTransformStruct ts, BOOL compact);
```

```python
writeTransform(file: FILE, ts: NSAffineTransformStruct, compact: bool) -> bool
```

## See Also

### Values and Collections

- [`writeKeyValueListBlock`](/Core/GlyphsCore/writeKeyValueListBlock)
- [`writePosition`](/Core/GlyphsCore/writePosition)
- [`writeTuple2`](/Core/GlyphsCore/writeTuple2)
- [`writeTuple2Buffer`](/Core/GlyphsCore/writeTuple2Buffer)
- [`writeTuple2Format1`](/Core/GlyphsCore/writeTuple2Format1)
- [`writeColor`](/Core/GlyphsCore/writeColor)
- [`writeTransformToBuffer`](/Core/GlyphsCore/writeTransformToBuffer)
- [`writeDateString`](/Core/GlyphsCore/writeDateString)
- [`writeElements`](/Core/GlyphsCore/writeElements)
- [`writeElementsLine`](/Core/GlyphsCore/writeElementsLine)
- [`endArray`](/Core/GlyphsCore/endArray)

