Ticket Created
over 5 years ago

WERETECH-8305

CIQ API documentation difference between Graphics.getFontHeight and DC.getFontheight?

Just a minor difference I noticed in the CIQ API documentation:

Graphics.getFontHeight (and ascent, descent, fitToArea) says to pass in a number for the font - but works fine if you pass in a user loaded font resource

DC.getFontHeight - says to pass in a FontResource for the font

Parents
  • As you expect, these functions are supposed to be equivalent. You can pass a font resource (from a call to WatchUi.loadResource()) or a font id (a number representing one of the Graphics.FONT_* enumerator values).

    We will get the documentation updated.

Comment
  • As you expect, these functions are supposed to be equivalent. You can pass a font resource (from a call to WatchUi.loadResource()) or a font id (a number representing one of the Graphics.FONT_* enumerator values).

    We will get the documentation updated.

Children
No Data