首先是resource 的部分,建立FontRes 來保存載入的字型檔,要建立文字的時候只要取用這個資源即可: pub struct FontRes { pub font : FontHandle } ...
確定! 回上一頁