You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently fillStringAtWidget, fillStringAtWidthCursor, and cursor.MoveToX do a type assertion on gc to make it into *draw2dgl.GraphicContext. This is because they rely on gc.Current.Scale and loadCurrentFont which relys on gc.LoadFont (Neither of which can be accessed from a draw2d.GraphicContext interface as of this writing). We need a substitute or a change in the draw2d API to fix this.
The text was updated successfully, but these errors were encountered:
Currently
fillStringAtWidget
,fillStringAtWidthCursor
, andcursor.MoveToX
do a type assertion ongc
to make it into*draw2dgl.GraphicContext
. This is because they rely ongc.Current.Scale
andloadCurrentFont
which relys ongc.LoadFont
(Neither of which can be accessed from adraw2d.GraphicContext
interface as of this writing). We need a substitute or a change in thedraw2d
API to fix this.The text was updated successfully, but these errors were encountered: