SMPTE RP219-1 pattern signal
This commit is contained in:
@@ -45,8 +45,8 @@ func LoadFace(path string, size float64) (font.Face, error) {
|
||||
return face, nil
|
||||
}
|
||||
|
||||
// NewTextOverlay rasterizes text (white, anti-aliased) onto a black backing
|
||||
// box, centered horizontally. Box width and x are multiples of 6 so the box
|
||||
// NewTextOverlay rasterizes text (white, anti-aliased) onto a black backing box.
|
||||
// Box width and x are multiples of 6 so the box
|
||||
// covers whole v210 blocks and the per-frame copy is word-aligned.
|
||||
func NewTextOverlay(text string, frameW, frameH, posX, posY int, face font.Face) (*TextOverlay, error) {
|
||||
if text == "" {
|
||||
|
||||
Reference in New Issue
Block a user