TM-SGNL-iOS/SignalUI/ImageEditor/ImageEditorTransformable.swift
TeleMessage developers dde0620daf initial commit
2025-05-03 12:28:28 -07:00

14 lines
392 B
Swift

//
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
protocol ImageEditorTransformable: ImageEditorItem {
var unitCenter: ImageEditorSample { get }
var scaling: CGFloat { get }
var rotationRadians: CGFloat { get }
func copy(unitCenter: CGPoint) -> Self
func copy(scaling: CGFloat, rotationRadians: CGFloat) -> Self
}