SDrawTextInfo

C++
struct SDrawTextInfo {
  int flags;
  float color[4];
  float xscale;
  float yscale;
};
File

IRenderer.h

Description

This structure used in DrawText method of renderer. It provide all necessary information of how to render text on screen.

See Also

IRenderer::Draw2dText

SDrawTextInfo::color Data Member

Text color, (r,g,b,a) all members must be specified.

C++
float color[4];
SDrawTextInfo::flags Data Member

One of EDrawTextFlags flags.

C++
int flags;
See Also
SDrawTextInfo::xscale Data Member
C++
float xscale;
SDrawTextInfo::yscale Data Member
C++
float yscale;
SDrawTextInfo::SDrawTextInfo Constructor
C++
SDrawTextInfo();