// x = canvas halfway point - total text width halfway point
x=wf/2-(baseTextWidth+userTextWidth)/2
y=hf-textHeight-footerMarginY
err=loadFont(dc,true,footerFontSize)
iferr!=nil{
returnerr
}
dc.DrawString(instance,x,y)
// x = original x coordinate + base text width
x+=baseTextWidth
y=hf-textHeight-footerMarginY
err=loadFont(dc,false,footerFontSize)
iferr!=nil{
returnerr
}
dc.DrawString(userPath,x,y)
// Draw the content
err=loadFont(dc,false,contentFontSize)
iferr!=nil{
returnerr
}
s:="The rest of the travelers in our flying bus napped or stared listlessly at a shiny slab in their lap and the staring yellow orb morphed into a full circle out in the blue. As we banked to the right — a nod to its awakening — it seemed to rest in acknowledgement, hanging for a moment on the invisible horizon."