# cee::vis::TrueTypeFont

class `TrueTypeFont` : public Font

  A true type font used for text drawing.

  This font is loaded from a file.

  Public Functions

  `TrueTypeFont`(const Str &filename, unsigned int pointSize)

    Creates a true type font using the given font file name and point size.

    A valid .ttf file must be provided.

  virtual unsigned int `pointSize`() const

    Returns the point size of the true type font.

  void `setPointSize`(unsigned int size)

    Sets the point size of the true type font.

  bool `isLoaded`() const

    Returns true if the true type font is properly loaded. (E.g. file not found, illegal format etc.)

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...