LMMS
Loading...
Searching...
No Matches
lice_textnew.cpp File Reference
#include "lice_text.h"
#include <math.h>
#include "lice_combine.h"
#include "lice_extended.h"

Classes

class  GlyphRenderer< T >

Macros

#define WDL_NO_DEFINE_MINMAX
#define IGNORE_SCALING(mode)
#define USE_NATIVE_RENDERING_FOR_FONTS_HIGHER_THAN   256
#define ABSOLUTELY_NO_GLYPHS_HIGHER_THAN   1024
#define __LICE__ACTION(comb)
#define __LICE__ACTION(comb)
#define __LICE__ACTION(comb)
#define __LICE_SC_DRAWTEXT_RESTORE_RECT

Functions

static int utf8makechar (char *ptrout, unsigned short charIn)
static int utf8char (const char *ptr, unsigned short *charOut)
static int LICE_Text_IsWine ()
static const char * adv_str (const char *str, int *strcnt, unsigned short *c)

Variables

static LICE_SysBitmaps_tempbitmap
static LICE_SysBitmaps_nativerender_tempbitmap
static int s_tempbitmap_refcnt

Macro Definition Documentation

◆ __LICE__ACTION [1/3]

#define __LICE__ACTION ( comb)
Value:
GlyphRenderer<comb>::Normal(gsrc,pout,src_span,dest_span,width,height,red,green,blue,avalint)
static void Normal(unsigned char *gsrc, LICE_pixel *pout, int src_span, int dest_span, int width, int height, int red, int green, int blue, int a256)
Definition lice_textnew.cpp:449
static int int height
Definition pugl.h:1594
static int width
Definition pugl.h:1593
png_structrp int png_fixed_point red
Definition png.h:1083

◆ __LICE__ACTION [2/3]

#define __LICE__ACTION ( comb)
Value:
GlyphRenderer<comb>::Effect(gsrc,pout,src_span,dest_span,width,height,red,green,blue,avalint,r2,g2,b2)
static void Effect(unsigned char *gsrc, LICE_pixel *pout, int src_span, int dest_span, int width, int height, int red, int green, int blue, int alpha, int r2, int g2, int b2)
Definition lice_textnew.cpp:502
static void r2(register WDL_FFT_REAL *a)
Definition fft.c:1089

◆ __LICE__ACTION [3/3]

#define __LICE__ACTION ( comb)
Value:
GlyphRenderer<comb>::Mono(gsrc,pout,src_span,dest_span,width,height,red,green,blue,avalint)
static void Mono(unsigned char *gsrc, LICE_pixel *pout, int src_span, int dest_span, int width, int height, int red, int green, int blue, int alpha)
Definition lice_textnew.cpp:488

◆ __LICE_SC_DRAWTEXT_RESTORE_RECT

#define __LICE_SC_DRAWTEXT_RESTORE_RECT
Value:
if (__sc > 0 && rect) { \
rect->left = (rect->left * 256) / __sc; \
rect->top = (rect->top * 256) / __sc; \
rect->right = (rect->right * 256) / __sc; \
rect->bottom = (rect->bottom * 256) / __sc; \
}

◆ ABSOLUTELY_NO_GLYPHS_HIGHER_THAN

#define ABSOLUTELY_NO_GLYPHS_HIGHER_THAN   1024

◆ IGNORE_SCALING

#define IGNORE_SCALING ( mode)
Value:
#define LICE_BLIT_IGNORE_SCALING
Definition lice.h:328
png_structrp int mode
Definition png.h:1139

◆ USE_NATIVE_RENDERING_FOR_FONTS_HIGHER_THAN

#define USE_NATIVE_RENDERING_FOR_FONTS_HIGHER_THAN   256

◆ WDL_NO_DEFINE_MINMAX

#define WDL_NO_DEFINE_MINMAX

Function Documentation

◆ adv_str()

const char * adv_str ( const char * str,
int * strcnt,
unsigned short * c )
static

◆ LICE_Text_IsWine()

int LICE_Text_IsWine ( )
static

◆ utf8char()

int utf8char ( const char * ptr,
unsigned short * charOut )
static

◆ utf8makechar()

int utf8makechar ( char * ptrout,
unsigned short charIn )
static

Variable Documentation

◆ s_nativerender_tempbitmap

LICE_SysBitmap* s_nativerender_tempbitmap
static

◆ s_tempbitmap

LICE_SysBitmap* s_tempbitmap
static

◆ s_tempbitmap_refcnt

int s_tempbitmap_refcnt
static