I hope you guys dont kill me for asking, but I was wondering if someone could direct me to a post that tells me how to make macros, or effects, or something of the like that can perform simple tasks for me. Maybe these tasks already exist in PaintDotNet, I could not find them, and I couldn't get any good results searching the forum.
heres the code I am turning into simple macro/plugin
SelectionSize: 218x93
SelectionLocation: 476x21
CanvasSize: 1200x800
Sub CenterHorizontally(SelectionSize, SelectionLocation, CanvasSize)
Dim CenterX as Integer = (CanvasSize.X / 2) - (SelectionSize.X / 2)
SelectionLocation.X = CenterX
End Sub
Sub CenterVertically(SelectionSize, SelectionLocation, CanvasSize)
Dim CenterY as Integer = (CanvasSize.Y / 2) - (SelectionSize.Y / 2)
SelectionLocation.Y = CenterY
End Sub
Sub Center(SelectionSize, SelectionLocation, CanvasSize)
Dim CenterX as Integer = (CanvasSize.X / 2) - (SelectionSize.X / 2)
Dim CenterY as Integer = (CanvasSize.Y / 2) - (SelectionSize.Y / 2)
SelectionLocation.X = CenterX
SelectionLocation.Y = CenterY
End Sub