Function BlamRendering::DirectX::Drawing::DrawBitmapText

Function Documentation

HRESULT BlamRendering::DirectX::Drawing::DrawBitmapText(BlamRendering::RenderStack::BitmapText *text_object, Blam::Content::Fonts::Font *font)

Draws the specified text using a Bitmap-based Blamite Font.

Note

Bitmap based fonts will automatically use integer scaling when the scale factor is set to an integer.

Return

S_OK if the item was drawn successfully, otherwise returns an error code.

Parameters
  • text_object: - A pointer to the BitmapText render stack object.

  • font: - A pointer to the font to use.