Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Leland is the open source MuseScore font, distributed under the OFL-1.1 // license. See https://github.com/MuseScoreFonts/Leland Leland *opentype.Font )
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type GrandStaff ¶
type GrandStaff struct { StaffLineWeight int // Thickness in pixels of staff lines StaffLines int // Number of staff and ledger lines to make space for. TopStaffLine int // Number of ledger lines before the top staff starts (i.e. F). BottomStaffLine int // Number of staff and ledger lines where the bottom staff ends (i.e. G). T.Time T.Key // contains filtered or unexported fields }
GrandStaff is a Gio widget that renders the grand staff.
func (*GrandStaff) Layout ¶
func (g *GrandStaff) Layout(gtx C) D
Click to show internal directories.
Click to hide internal directories.