rotated Glyph Corners
fun rotatedGlyphCorners(anchorX: Float, anchorY: Float, angleRad: Float, glyphWidth: Float, glyphHeight: Float, out: FloatArray)
Rotate the per-glyph anchor offsets into screen space. Useful when emitting one Label per glyph and you need to compute the glyph's screen bbox for collision. Returns (dx, dy) screen offsets from the anchor centerX, centerY for a glyph that would otherwise sit at the anchor with width glyphWidth and height glyphHeight.