Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/B33pBeeps/redthread
/ Rect
Struct
Rect
internal/app/anim.go:20–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
)
19
20
type
Rect
struct
{ X, Y, W, H int }
21
22
// TargetRect returns the centered edit-card rect for a given canvas size.
23
func
TargetRect(w, h int) Rect {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected