NeKernel dev
Loading...
Searching...
No Matches
TextGfx.h File Reference

Go to the source code of this file.

Macros

#define kFontSizeX   8
#define kFontSizeY   8
#define kFontNOFChars   128

Functions

Kernel::Void cg_render_string_for_bitmap (const Kernel::UInt8 *bitmap, const Kernel::SizeT x_sz, const Kernel::SizeT y_sz, Kernel::Int32 &x_dst, Kernel::Int32 &y_dst, Kernel::Int32 &color)
Kernel::Void cg_render_string (const Kernel::Char *text, Kernel::Int32 x_dst, Kernel::Int32 y_dst, Kernel::Int32 color)

Variables

const Kernel::UInt8 kFontBitmap [kFontNOFChars][kFontSizeX]

Macro Definition Documentation

◆ kFontNOFChars

#define kFontNOFChars   128

◆ kFontSizeX

#define kFontSizeX   8

◆ kFontSizeY

#define kFontSizeY   8

Function Documentation

◆ cg_render_string()

Kernel::Void cg_render_string ( const Kernel::Char * text,
Kernel::Int32 x_dst,
Kernel::Int32 y_dst,
Kernel::Int32 color )
inline

◆ cg_render_string_for_bitmap()

Kernel::Void cg_render_string_for_bitmap ( const Kernel::UInt8 * bitmap,
const Kernel::SizeT x_sz,
const Kernel::SizeT y_sz,
Kernel::Int32 & x_dst,
Kernel::Int32 & y_dst,
Kernel::Int32 & color )
inline

Variable Documentation

◆ kFontBitmap

const Kernel::UInt8 kFontBitmap[kFontNOFChars][kFontSizeX]
inline