LMMS
Loading...
Searching...
No Matches
lice_import.h File Reference
#include "lice_text.h"

Go to the source code of this file.

Macros

#define LICE_TEXT_NO_DECLARE_CACHEDFONT
#define LICE_FUNC_DEF_DECL
#define LICE_PutPixel   __LICE_PutPixel
#define LICE_Line   __LICE_Line
#define LICE_FLine   __LICE_FLine
#define LICE_DashedLine   __LICE_DashedLine
#define LICE_FillRect   __LICE_FillRect
#define LICE_DrawRect   __LICE_DrawRect
#define LICE_Circle   __LICE_Circle
#define LICE_Clear   __LICE_Clear
#define LICE_Blit   __LICE_Blit
#define LICE_RotatedBlit   __LICE_RotatedBlit
#define LICE_DrawGlyph   __LICE_DrawGlyph
#define LICE_FillCircle   __LICE_FillCircle
#define LICE_BorderedRect   __LICE_BorderedRect
#define LICE_FillTriangle   __LICE_FillTriangle
#define LICE_Arc   __LICE_Arc
#define LICE_FillTrapezoid   __LICE_FillTrapezoid
#define LICE_FillConvexPolygon   __LICE_FillConvexPolygon
#define LICE_Copy   __LICE_Copy
#define LICE_DrawText   __LICE_DrawText
#define LICE_MeasureText   __LICE_MeasureText
#define LICE_ScaledBlit   __LICE_ScaledBlit
#define LICE_CreateMemBitmap(w, h)
#define LICE_CreateSysBitmap(w, h)
#define LICE_CreateTextCache()
#define IMPORT_LICE_FUNCS(IMPORT_FUNC)

Variables

LICE_FUNC_DEF_DECL LICE_IBitmap *(* __LICE_CreateBitmap )(int, int, int)
LICE_FUNC_DEF_DECL void(* __LICE_PutPixel )(LICE_IBitmap *dest, int x, int y, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_Line )(LICE_IBitmap *dest, int x1, int y1, int x2, int y2, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_FLine )(LICE_IBitmap *dest, float x1, float y1, float x2, float y2, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_DashedLine )(LICE_IBitmap *dest, int x1, int y1, int x2, int y2, int on, int off, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_FillRect )(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_DrawRect )(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_BorderedRect )(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel bgcolor, LICE_pixel fgcolor, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_Circle )(LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_FillCircle )(LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_Clear )(LICE_IBitmap *dest, LICE_pixel color)
LICE_FUNC_DEF_DECL void(* __LICE_Blit )(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_RotatedBlit )(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float angle, bool cliptosourcerect, float alpha, int mode, float rotxcent, float rotycent)
LICE_FUNC_DEF_DECL void(* __LICE_DrawGlyph )(LICE_IBitmap *dest, int x, int y, LICE_pixel color, LICE_pixel_chan *glyph, int glyph_w, int glyph_h, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_FillTriangle )(LICE_IBitmap *dest, int x1, int y1, int x2, int y2, int x3, int y3, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_Arc )(LICE_IBitmap *dest, float cx, float cy, float r, float alo, float ahi, LICE_pixel color, float alpha, int mode, bool aa)
LICE_FUNC_DEF_DECL void(* __LICE_FillTrapezoid )(LICE_IBitmap *dest, int x1a, int x1b, int y1, int x2a, int x2b, int y2, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_FillConvexPolygon )(LICE_IBitmap *dest, int *x, int *y, int npoints, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_Copy )(LICE_IBitmap *dest, LICE_IBitmap *src)
LICE_FUNC_DEF_DECL void(* __LICE_DrawText )(LICE_IBitmap *bm, int x, int y, const char *string, LICE_pixel color, float alpha, int mode)
LICE_FUNC_DEF_DECL void(* __LICE_MeasureText )(const char *string, int *w, int *h)
LICE_FUNC_DEF_DECL void(* __LICE_ScaledBlit )(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float alpha, int mode)
LICE_FUNC_DEF_DECL void *(* LICE_CreateFont )()

Macro Definition Documentation

◆ IMPORT_LICE_FUNCS

#define IMPORT_LICE_FUNCS ( IMPORT_FUNC)
Value:
IMPORT_FUNC(__LICE_CreateBitmap,"LICE_CreateBitmap") \
IMPORT_FUNC(__LICE_PutPixel,"LICE_PutPixel") \
IMPORT_FUNC(__LICE_Line,"LICE_LineInt") \
IMPORT_FUNC(__LICE_FLine,"LICE_Line") \
IMPORT_FUNC(__LICE_DashedLine, "LICE_DashedLine") \
IMPORT_FUNC(__LICE_Circle,"LICE_Circle") \
IMPORT_FUNC(__LICE_FillCircle,"LICE_FillCircle") \
IMPORT_FUNC(__LICE_FillRect,"LICE_FillRect") \
IMPORT_FUNC(__LICE_DrawRect,"LICE_DrawRect") \
IMPORT_FUNC(__LICE_BorderedRect,"LICE_BorderedRect") \
IMPORT_FUNC(__LICE_Clear,"LICE_Clear") \
IMPORT_FUNC(__LICE_Blit,"LICE_Blit") \
IMPORT_FUNC(__LICE_RotatedBlit,"LICE_RotatedBlit") \
IMPORT_FUNC(__LICE_DrawGlyph,"LICE_DrawGlyph") \
IMPORT_FUNC(LICE_CreateFont,"LICE_CreateFont") \
IMPORT_FUNC(LICE_FillTriangle,"LICE_FillTriangle") \
IMPORT_FUNC(LICE_Arc,"LICE_Arc") \
IMPORT_FUNC(LICE_FillTrapezoid,"LICE_FillTrapezoid") \
IMPORT_FUNC(LICE_FillConvexPolygon,"LICE_FillConvexPolygon") \
IMPORT_FUNC(LICE_Copy,"LICE_Copy") \
IMPORT_FUNC(__LICE_ScaledBlit,"LICE_ScaledBlit") \
IMPORT_FUNC(__LICE_MeasureText,"LICE_MeasureText") \
IMPORT_FUNC(__LICE_DrawText,"LICE_DrawText")
LICE_FUNC_DEF_DECL void(* __LICE_DashedLine)(LICE_IBitmap *dest, int x1, int y1, int x2, int y2, int on, int off, LICE_pixel color, float alpha, int mode, bool aa)
Definition lice_import.h:14
#define LICE_FillTrapezoid
Definition lice_import.h:49
LICE_FUNC_DEF_DECL void(* __LICE_DrawRect)(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode)
Definition lice_import.h:16
LICE_FUNC_DEF_DECL void(* __LICE_PutPixel)(LICE_IBitmap *dest, int x, int y, LICE_pixel color, float alpha, int mode)
Definition lice_import.h:11
#define LICE_Arc
Definition lice_import.h:48
LICE_FUNC_DEF_DECL void(* __LICE_Blit)(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, float alpha, int mode)
Definition lice_import.h:21
#define LICE_Copy
Definition lice_import.h:51
LICE_FUNC_DEF_DECL void(* __LICE_RotatedBlit)(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float angle, bool cliptosourcerect, float alpha, int mode, float rotxcent, float rotycent)
Definition lice_import.h:22
LICE_FUNC_DEF_DECL void(* __LICE_ScaledBlit)(LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float alpha, int mode)
Definition lice_import.h:31
LICE_FUNC_DEF_DECL void(* __LICE_FLine)(LICE_IBitmap *dest, float x1, float y1, float x2, float y2, LICE_pixel color, float alpha, int mode, bool aa)
Definition lice_import.h:13
LICE_FUNC_DEF_DECL void *(* LICE_CreateFont)()
Definition lice_import.h:33
#define LICE_FillTriangle
Definition lice_import.h:47
LICE_FUNC_DEF_DECL void(* __LICE_Line)(LICE_IBitmap *dest, int x1, int y1, int x2, int y2, LICE_pixel color, float alpha, int mode, bool aa)
Definition lice_import.h:12
#define LICE_FillConvexPolygon
Definition lice_import.h:50
LICE_FUNC_DEF_DECL void(* __LICE_DrawText)(LICE_IBitmap *bm, int x, int y, const char *string, LICE_pixel color, float alpha, int mode)
Definition lice_import.h:29
LICE_FUNC_DEF_DECL void(* __LICE_Clear)(LICE_IBitmap *dest, LICE_pixel color)
Definition lice_import.h:20
LICE_FUNC_DEF_DECL void(* __LICE_DrawGlyph)(LICE_IBitmap *dest, int x, int y, LICE_pixel color, LICE_pixel_chan *glyph, int glyph_w, int glyph_h, float alpha, int mode)
Definition lice_import.h:23
LICE_FUNC_DEF_DECL void(* __LICE_FillCircle)(LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa)
Definition lice_import.h:19
LICE_FUNC_DEF_DECL LICE_IBitmap *(* __LICE_CreateBitmap)(int, int, int)
Definition lice_import.h:10
LICE_FUNC_DEF_DECL void(* __LICE_MeasureText)(const char *string, int *w, int *h)
Definition lice_import.h:30
LICE_FUNC_DEF_DECL void(* __LICE_Circle)(LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa)
Definition lice_import.h:18
LICE_FUNC_DEF_DECL void(* __LICE_BorderedRect)(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel bgcolor, LICE_pixel fgcolor, float alpha, int mode)
Definition lice_import.h:17
LICE_FUNC_DEF_DECL void(* __LICE_FillRect)(LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode)
Definition lice_import.h:15

◆ LICE_Arc

#define LICE_Arc   __LICE_Arc

◆ LICE_Blit

#define LICE_Blit   __LICE_Blit

◆ LICE_BorderedRect

#define LICE_BorderedRect   __LICE_BorderedRect

◆ LICE_Circle

#define LICE_Circle   __LICE_Circle

◆ LICE_Clear

#define LICE_Clear   __LICE_Clear

◆ LICE_Copy

#define LICE_Copy   __LICE_Copy

◆ LICE_CreateMemBitmap

#define LICE_CreateMemBitmap ( w,
h )
Value:
UINT_D64 w
Definition inflate.c:942
uch h[RAND_HEAD_LEN]
Definition crypt.c:459

◆ LICE_CreateSysBitmap

#define LICE_CreateSysBitmap ( w,
h )

◆ LICE_CreateTextCache

#define LICE_CreateTextCache ( )
Value:
Definition lice_text.h:37

◆ LICE_DashedLine

#define LICE_DashedLine   __LICE_DashedLine

◆ LICE_DrawGlyph

#define LICE_DrawGlyph   __LICE_DrawGlyph

◆ LICE_DrawRect

#define LICE_DrawRect   __LICE_DrawRect

◆ LICE_DrawText

#define LICE_DrawText   __LICE_DrawText

◆ LICE_FillCircle

#define LICE_FillCircle   __LICE_FillCircle

◆ LICE_FillConvexPolygon

#define LICE_FillConvexPolygon   __LICE_FillConvexPolygon

◆ LICE_FillRect

#define LICE_FillRect   __LICE_FillRect

◆ LICE_FillTrapezoid

#define LICE_FillTrapezoid   __LICE_FillTrapezoid

◆ LICE_FillTriangle

#define LICE_FillTriangle   __LICE_FillTriangle

◆ LICE_FLine

#define LICE_FLine   __LICE_FLine

◆ LICE_FUNC_DEF_DECL

#define LICE_FUNC_DEF_DECL

◆ LICE_Line

#define LICE_Line   __LICE_Line

◆ LICE_MeasureText

#define LICE_MeasureText   __LICE_MeasureText

◆ LICE_PutPixel

#define LICE_PutPixel   __LICE_PutPixel

◆ LICE_RotatedBlit

#define LICE_RotatedBlit   __LICE_RotatedBlit

◆ LICE_ScaledBlit

#define LICE_ScaledBlit   __LICE_ScaledBlit

◆ LICE_TEXT_NO_DECLARE_CACHEDFONT

#define LICE_TEXT_NO_DECLARE_CACHEDFONT

Variable Documentation

◆ __LICE_Arc

LICE_FUNC_DEF_DECL void(* __LICE_Arc) (LICE_IBitmap *dest, float cx, float cy, float r, float alo, float ahi, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
float cx,
float cy,
float r,
float alo,
float ahi,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_Blit

LICE_FUNC_DEF_DECL void(* __LICE_Blit) (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, float alpha, int mode) ( LICE_IBitmap * dest,
LICE_IBitmap * src,
int dstx,
int dsty,
int srcx,
int srcy,
int srcw,
int srch,
float alpha,
int mode )

◆ __LICE_BorderedRect

LICE_FUNC_DEF_DECL void(* __LICE_BorderedRect) (LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel bgcolor, LICE_pixel fgcolor, float alpha, int mode) ( LICE_IBitmap * dest,
int x,
int y,
int w,
int h,
LICE_pixel bgcolor,
LICE_pixel fgcolor,
float alpha,
int mode )

◆ __LICE_Circle

LICE_FUNC_DEF_DECL void(* __LICE_Circle) (LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
float cx,
float cy,
float r,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_Clear

LICE_FUNC_DEF_DECL void(* __LICE_Clear) (LICE_IBitmap *dest, LICE_pixel color) ( LICE_IBitmap * dest,
LICE_pixel color )

◆ __LICE_Copy

LICE_FUNC_DEF_DECL void(* __LICE_Copy) (LICE_IBitmap *dest, LICE_IBitmap *src) ( LICE_IBitmap * dest,
LICE_IBitmap * src )

◆ __LICE_CreateBitmap

LICE_FUNC_DEF_DECL LICE_IBitmap *(* __LICE_CreateBitmap) (int, int, int) ( int ,
int ,
int  )

◆ __LICE_DashedLine

LICE_FUNC_DEF_DECL void(* __LICE_DashedLine) (LICE_IBitmap *dest, int x1, int y1, int x2, int y2, int on, int off, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
int x1,
int y1,
int x2,
int y2,
int on,
int off,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_DrawGlyph

LICE_FUNC_DEF_DECL void(* __LICE_DrawGlyph) (LICE_IBitmap *dest, int x, int y, LICE_pixel color, LICE_pixel_chan *glyph, int glyph_w, int glyph_h, float alpha, int mode) ( LICE_IBitmap * dest,
int x,
int y,
LICE_pixel color,
LICE_pixel_chan * glyph,
int glyph_w,
int glyph_h,
float alpha,
int mode )

◆ __LICE_DrawRect

LICE_FUNC_DEF_DECL void(* __LICE_DrawRect) (LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int x,
int y,
int w,
int h,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_DrawText

LICE_FUNC_DEF_DECL void(* __LICE_DrawText) (LICE_IBitmap *bm, int x, int y, const char *string, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * bm,
int x,
int y,
const char * string,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_FillCircle

LICE_FUNC_DEF_DECL void(* __LICE_FillCircle) (LICE_IBitmap *dest, float cx, float cy, float r, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
float cx,
float cy,
float r,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_FillConvexPolygon

LICE_FUNC_DEF_DECL void(* __LICE_FillConvexPolygon) (LICE_IBitmap *dest, int *x, int *y, int npoints, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int * x,
int * y,
int npoints,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_FillRect

LICE_FUNC_DEF_DECL void(* __LICE_FillRect) (LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int x,
int y,
int w,
int h,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_FillTrapezoid

LICE_FUNC_DEF_DECL void(* __LICE_FillTrapezoid) (LICE_IBitmap *dest, int x1a, int x1b, int y1, int x2a, int x2b, int y2, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int x1a,
int x1b,
int y1,
int x2a,
int x2b,
int y2,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_FillTriangle

LICE_FUNC_DEF_DECL void(* __LICE_FillTriangle) (LICE_IBitmap *dest, int x1, int y1, int x2, int y2, int x3, int y3, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_FLine

LICE_FUNC_DEF_DECL void(* __LICE_FLine) (LICE_IBitmap *dest, float x1, float y1, float x2, float y2, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
float x1,
float y1,
float x2,
float y2,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_Line

LICE_FUNC_DEF_DECL void(* __LICE_Line) (LICE_IBitmap *dest, int x1, int y1, int x2, int y2, LICE_pixel color, float alpha, int mode, bool aa) ( LICE_IBitmap * dest,
int x1,
int y1,
int x2,
int y2,
LICE_pixel color,
float alpha,
int mode,
bool aa )

◆ __LICE_MeasureText

LICE_FUNC_DEF_DECL void(* __LICE_MeasureText) (const char *string, int *w, int *h) ( const char * string,
int * w,
int * h )

◆ __LICE_PutPixel

LICE_FUNC_DEF_DECL void(* __LICE_PutPixel) (LICE_IBitmap *dest, int x, int y, LICE_pixel color, float alpha, int mode) ( LICE_IBitmap * dest,
int x,
int y,
LICE_pixel color,
float alpha,
int mode )

◆ __LICE_RotatedBlit

LICE_FUNC_DEF_DECL void(* __LICE_RotatedBlit) (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float angle, bool cliptosourcerect, float alpha, int mode, float rotxcent, float rotycent) ( LICE_IBitmap * dest,
LICE_IBitmap * src,
int dstx,
int dsty,
int dstw,
int dsth,
float srcx,
float srcy,
float srcw,
float srch,
float angle,
bool cliptosourcerect,
float alpha,
int mode,
float rotxcent,
float rotycent )

◆ __LICE_ScaledBlit

LICE_FUNC_DEF_DECL void(* __LICE_ScaledBlit) (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float alpha, int mode) ( LICE_IBitmap * dest,
LICE_IBitmap * src,
int dstx,
int dsty,
int dstw,
int dsth,
float srcx,
float srcy,
float srcw,
float srch,
float alpha,
int mode )

◆ LICE_CreateFont

LICE_FUNC_DEF_DECL void *(* LICE_CreateFont) () ( )