libwebsockets
Lightweight C library for HTML5 websockets
lws-dlo.h File Reference
#include <stdint.h>
+ Include dependency graph for lws-dlo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lws_dlo_dim_t
 
struct  lws_font_glyph
 
struct  lws_display_id
 
struct  lws_dlo
 
struct  lws_circle
 
struct  lws_dlo_rect
 
struct  lws_dlo_circle
 
struct  lws_font_choice
 
struct  lws_display_font
 
struct  lws_dlo_filesystem
 
struct  lws_dlo_text
 
struct  lws_dlo_rasterize
 
struct  lws_dlo_png
 
struct  lws_dlo_jpeg
 
struct  lws_dlo_image_t
 
struct  lws_displaylist
 
struct  lws_dl_rend
 
struct  lws_display_render_stack
 
struct  lws_display_render_state
 
struct  lws_dlo_ss_create_info_t
 
union  lws_dlo_image_t.u
 

Macros

#define LWSDC_RGBA(_r, _g, _b, _a)
 
#define LWSDC_R(_c)   ((_c) & 0xff)
 
#define LWSDC_G(_c)   ((_c >> 8) & 0xff)
 
#define LWSDC_B(_c)   ((_c >> 16) & 0xff)
 
#define LWSDC_ALPHA(_c)   ((_c >> 24) & 0xff)
 
#define RGB_TO_Y(_r, _g, _b)   ((((_r) * 299) + ((_g) * 587) + ((_b) * 114)) / 1000)
 
#define PALETTE_RGBY(_r, _g, _b)   LWSDC_RGBA(_r, _g, _b, (RGB_TO_Y(_r, _g, _b)))
 
#define LWSDLO_TEXT_FLAG_WRAP   (1 << 0)
 
#define lws_dlo_image_width(_u)
 
#define lws_dlo_image_height(_u)
 
#define lws_dlo_image_metadata_scan(_u)
 

Typedefs

typedef struct lws_font_glyph lws_font_glyph_t
 
typedef lws_stateful_ret_t(* lws_dlo_renderer_t) (struct lws_display_render_state *rs)
 
typedef lws_font_glyph_t *(* lws_dlo_image_glyph_t) (struct lws_dlo_text *text, uint32_t unicode, char attach)
 
typedef void(* lws_dlo_destroy_t) (struct lws_dlo *dlo)
 
typedef struct lws_display_id lws_display_id_t
 
typedef struct lws_dlo lws_dlo_t
 
typedef struct lws_circle lws_circle_t
 
typedef struct lws_dlo_rect lws_dlo_rect_t
 
typedef struct lws_dlo_circle lws_dlo_circle_t
 
typedef struct lws_font_choice lws_font_choice_t
 
typedef struct lws_display_font lws_display_font_t
 
typedef struct lws_dlo_filesystem lws_dlo_filesystem_t
 
typedef struct lws_dlo_text lws_dlo_text_t
 
typedef struct lws_dlo_rasterize lws_dlo_rasterize_t
 
typedef struct lws_dlo_png lws_dlo_png_t
 
typedef struct lws_dlo_jpeg lws_dlo_jpeg_t
 
typedef struct lws_displaylist lws_displaylist_t
 
typedef struct lws_dl_rend lws_dl_rend_t
 
typedef struct lws_display_render_stack lws_display_render_stack_t
 
typedef struct lws_display_render_state lws_display_render_state_t
 

Enumerations

enum  lws_dlo_image_type_t { LWSDLOSS_TYPE_JPEG , LWSDLOSS_TYPE_PNG , LWSDLOSS_TYPE_CSS }
 

Functions

LWS_VISIBLE LWS_EXTERN void lws_display_render_free_ids (lws_display_render_state_t *rs)
 
LWS_VISIBLE LWS_EXTERN lws_display_id_tlws_display_render_add_id (lws_display_render_state_t *rs, const char *id, void *priv)
 
LWS_VISIBLE LWS_EXTERN lws_display_id_tlws_display_render_get_id (lws_display_render_state_t *rs, const char *id)
 
LWS_VISIBLE LWS_EXTERN void lws_display_render_dump_ids (lws_dll2_owner_t *ids)
 
LWS_VISIBLE LWS_EXTERN void lws_dlo_contents (lws_dlo_t *parent, lws_dlo_dim_t *dim)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dlo_adjust_dims (lws_dlo_t *dlo, lws_dlo_dim_t *dim)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dl_init (lws_displaylist_t *dl, struct lws_display_state *ds)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dl_dump (lws_displaylist_t *dl)
 
LWS_VISIBLE LWS_EXTERN void lws_display_list_destroy (lws_displaylist_t *dl)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dlo_destroy (lws_dlo_t **r)
 
LWS_VISIBLE LWS_EXTERN int lws_display_dlo_add (lws_displaylist_t *dl, lws_dlo_t *dlo_parent, lws_dlo_t *dlo)
 
LWS_VISIBLE LWS_EXTERN int lws_dlo_ensure_err_diff (lws_dlo_t *dlo)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_list_render_line (lws_display_render_state_t *rs)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_get_ids_boxes (lws_display_render_state_t *rs)
 
LWS_VISIBLE LWS_EXTERN lws_dlo_rect_tlws_display_dlo_rect_new (lws_displaylist_t *dl, lws_dlo_t *dlo_parent, lws_box_t *box, const lws_fx_t *radii, lws_display_colour_t dc)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_rect (struct lws_display_render_state *rs)
 
LWS_VISIBLE LWS_EXTERN lws_dlo_text_tlws_display_dlo_text_new (lws_displaylist_t *dl, lws_dlo_t *dlo_parent, lws_box_t *box, const lws_display_font_t *font)
 
LWS_VISIBLE LWS_EXTERN int lws_display_dlo_text_update (lws_dlo_text_t *text, lws_display_colour_t dc, lws_fx_t indent, const char *utf8, size_t text_len)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dlo_text_destroy (struct lws_dlo *dlo)
 
LWS_VISIBLE LWS_EXTERN lws_dlo_png_tlws_display_dlo_png_new (lws_displaylist_t *dl, lws_dlo_t *dlo_parent, lws_box_t *box)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_png (struct lws_display_render_state *rs)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_dlo_png_metadata_scan (lws_dlo_png_t *dp)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dlo_png_destroy (struct lws_dlo *dlo)
 
LWS_VISIBLE LWS_EXTERN lws_dlo_jpeg_tlws_display_dlo_jpeg_new (lws_displaylist_t *dl, lws_dlo_t *dlo_parent, lws_box_t *box)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_jpeg (struct lws_display_render_state *rs)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_dlo_jpeg_metadata_scan (lws_dlo_jpeg_t *dj)
 
LWS_VISIBLE LWS_EXTERN void lws_display_dlo_jpeg_destroy (struct lws_dlo *dlo)
 
LWS_VISIBLE LWS_EXTERN int lws_dlo_ss_create (lws_dlo_ss_create_info_t *i, lws_dlo_t **pdlo)
 
LWS_VISIBLE LWS_EXTERN int lws_dlo_ss_find (struct lws_context *cx, const char *url, lws_dlo_image_t *u)
 
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lhp_displaylist_layout (struct lhp_ctx *ctx, char reason)
 
LWS_VISIBLE LWS_EXTERN int lws_font_register (struct lws_context *cx, const uint8_t *data, size_t data_len)
 
LWS_VISIBLE LWS_EXTERN const lws_display_font_tlws_font_choose (struct lws_context *cx, const lws_font_choice_t *hints)
 
LWS_VISIBLE LWS_EXTERN void lws_fonts_destroy (struct lws_context *cx)
 
LWS_VISIBLE LWS_EXTERN lws_dlo_filesystem_tlws_dlo_file_register (struct lws_context *cx, const lws_dlo_filesystem_t *f)
 
LWS_VISIBLE LWS_EXTERN void lws_dlo_file_unregister (lws_dlo_filesystem_t **f)
 
LWS_VISIBLE LWS_EXTERN void lws_dlo_file_unregister_by_name (struct lws_context *cx, const char *name)
 
LWS_VISIBLE LWS_EXTERN const lws_dlo_filesystem_tlws_dlo_file_choose (struct lws_context *cx, const char *name)
 
LWS_VISIBLE LWS_EXTERN void lws_dlo_file_destroy (struct lws_context *cx)
 

Variables

LWS_VISIBLE const struct lws_plat_file_ops lws_dlo_fops
 

Data Structure Documentation

◆ lws_dlo_dim_t

struct lws_dlo_dim_t

Definition at line 55 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_dim_t:
Data Fields
lws_fx_t w
lws_fx_t h

◆ lws_font_glyph

struct lws_font_glyph

Definition at line 66 of file lws-dlo.h.

+ Collaboration diagram for lws_font_glyph:
Data Fields
lws_dll2_t list
lws_fx_t xorg
lws_fx_t xpx
lws_fx_t height
lws_fx_t cwidth
int8_t x

◆ lws_display_id

struct lws_display_id

Definition at line 84 of file lws-dlo.h.

+ Collaboration diagram for lws_display_id:
Data Fields
lws_dll2_t list
char id[16]
lws_box_t box
void * priv_user
void * priv_driver
char exists
char iframe

◆ lws_dlo

struct lws_dlo

Definition at line 106 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo:
Data Fields
lws_dll2_t list
lws_dll2_t col_list
lws_dll2_t row_list
lws_dll2_owner_t children
lws_dll2_owner_t table_cols
lws_dll2_owner_t table_rows
struct lws_dlo * abut_x
struct lws_dlo * abut_y
lws_dlo_destroy_t _destroy
lws_dlo_renderer_t render
lws_fx_t margin[4]
lws_fx_t padding[4]
lws_display_id_t * id
lws_box_t box
lws_display_colour_t dc
uint8_t flag_runon:1
uint8_t flag_done_align:1
uint8_t flag_toplevel:1

◆ lws_circle

struct lws_circle

Definition at line 144 of file lws-dlo.h.

+ Collaboration diagram for lws_circle:
Data Fields
lws_fx_t r
lws_fx_t orx
lws_fx_t ory
lws_fx_t rsq
lws_fx_t ys

◆ lws_dlo_rect

struct lws_dlo_rect

Definition at line 154 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_rect:
Data Fields
lws_dlo_t dlo
lws_circle_t c[4]
lws_fx_t b[4]
lws_display_colour_t dcb
lws_fx_t btm
lws_fx_t right
lws_box_t db
uint8_t init
uint8_t alt

◆ lws_dlo_circle

struct lws_dlo_circle

Definition at line 170 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_circle:
Data Fields
lws_dlo_t dlo

◆ lws_font_choice

struct lws_font_choice

Definition at line 174 of file lws-dlo.h.

+ Collaboration diagram for lws_font_choice:
Data Fields
const char * family_name
const char * generic_name
uint16_t weight
uint16_t style
uint16_t fixed_height

◆ lws_display_font

struct lws_display_font

Definition at line 182 of file lws-dlo.h.

+ Collaboration diagram for lws_display_font:
Data Fields
lws_dll2_t list
lws_font_choice_t choice
const uint8_t * data
uint8_t * priv
size_t data_len
lws_dlo_renderer_t renderer
lws_dlo_image_glyph_t image_glyph
lws_fx_t em
lws_fx_t ex

◆ lws_dlo_filesystem

struct lws_dlo_filesystem

Definition at line 197 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_filesystem:
Data Fields
lws_dll2_t list
const char * name
const void * data
size_t len

◆ lws_dlo_text

struct lws_dlo_text

Definition at line 207 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_text:
Data Fields
lws_dlo_t dlo
const lws_display_font_t * font
lws_dll2_owner_t glyphs
lws_box_t bounding_box
const struct lws_surface_info * ic
struct lwsac * ac_glyphs
uint8_t * line
uint16_t curr
char * text
uint8_t * kern
size_t text_len
lws_display_list_coord_t clkernpx
lws_display_list_coord_t cwidth
lws_fx_t indent
uint32_t flags
int16_t font_y_baseline
int16_t font_height
int16_t font_line_height
int16_t group_height
int16_t group_y_baseline
lws_fx_t _cwidth

◆ lws_dlo_rasterize

struct lws_dlo_rasterize

Definition at line 240 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_rasterize:
Data Fields
lws_dll2_owner_t owner
lws_sorted_usec_list_t sul
int lines

◆ lws_dlo_png

struct lws_dlo_png

Definition at line 246 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_png:
Data Fields
lws_dlo_t dlo
lws_flow_t flow
lws_upng_t * png

◆ lws_dlo_jpeg

struct lws_dlo_jpeg

Definition at line 252 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_jpeg:
Data Fields
lws_dlo_t dlo
lws_flow_t flow
lws_jpeg_t * j

◆ lws_dlo_image_t

struct lws_dlo_image_t

Definition at line 264 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_image_t:
Data Fields
union lws_dlo_image_t u
lws_dlo_image_type_t type
char failed

◆ lws_displaylist

struct lws_displaylist

Definition at line 273 of file lws-dlo.h.

+ Collaboration diagram for lws_displaylist:
Data Fields
lws_dll2_owner_t dl
struct lws_display_state * ds

◆ lws_dl_rend

struct lws_dl_rend

Definition at line 278 of file lws-dlo.h.

+ Collaboration diagram for lws_dl_rend:
Data Fields
lws_displaylist_t * dl
int w
int h

◆ lws_display_render_stack

struct lws_display_render_stack

Definition at line 284 of file lws-dlo.h.

+ Collaboration diagram for lws_display_render_stack:
Data Fields
lws_dlo_t * dlo
lws_box_t co

◆ lws_display_render_state

struct lws_display_render_state

Definition at line 289 of file lws-dlo.h.

+ Collaboration diagram for lws_display_render_state:
Data Fields
lws_sorted_usec_list_t sul
struct lws_display_state * lds
lws_dll2_owner_t ids
const struct lws_surface_info * ic
lws_display_render_stack_t st[12]
int sp
uint8_t * line
lws_displaylist_t displaylist
lws_display_scalar curr
lws_display_scalar lowest_id_y
char html

◆ lws_dlo_ss_create_info_t

struct lws_dlo_ss_create_info_t

Definition at line 446 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_ss_create_info_t:
Data Fields
struct lws_context * cx
lws_displaylist_t * dl
lws_dlo_t * dlo_parent
lws_box_t * box
sul_cb_t on_rx
lws_sorted_usec_list_t * on_rx_sul
const char * url
struct lhp_ctx * lhp
lws_dlo_image_t * u
int32_t window
uint8_t type

◆ lws_dlo_image_t.u

union lws_dlo_image_t.u

Definition at line 265 of file lws-dlo.h.

+ Collaboration diagram for lws_dlo_image_t.u:
Data Fields
lws_dlo_jpeg_t * dlo_jpeg
lws_dlo_png_t * dlo_png

Macro Definition Documentation

◆ LWSDC_RGBA

#define LWSDC_RGBA (   _r,
  _g,
  _b,
  _a 
)
Value:
(((uint32_t)(_r) & 0xff) | \
(((uint32_t)(_g) & 0xff) << 8) | \
(((uint32_t)(_b) & 0xff) << 16) | \
(((uint32_t)(_a) & 0xff) << 24))
unsigned int uint32_t

Definition at line 41 of file lws-dlo.h.

◆ LWSDC_R

#define LWSDC_R (   _c)    ((_c) & 0xff)

Definition at line 46 of file lws-dlo.h.

◆ LWSDC_G

#define LWSDC_G (   _c)    ((_c >> 8) & 0xff)

Definition at line 47 of file lws-dlo.h.

◆ LWSDC_B

#define LWSDC_B (   _c)    ((_c >> 16) & 0xff)

Definition at line 48 of file lws-dlo.h.

◆ LWSDC_ALPHA

#define LWSDC_ALPHA (   _c)    ((_c >> 24) & 0xff)

Definition at line 49 of file lws-dlo.h.

◆ RGB_TO_Y

#define RGB_TO_Y (   _r,
  _g,
  _b 
)    ((((_r) * 299) + ((_g) * 587) + ((_b) * 114)) / 1000)

Definition at line 51 of file lws-dlo.h.

◆ PALETTE_RGBY

#define PALETTE_RGBY (   _r,
  _g,
  _b 
)    LWSDC_RGBA(_r, _g, _b, (RGB_TO_Y(_r, _g, _b)))

Definition at line 53 of file lws-dlo.h.

◆ LWSDLO_TEXT_FLAG_WRAP

#define LWSDLO_TEXT_FLAG_WRAP   (1 << 0)

Definition at line 205 of file lws-dlo.h.

◆ lws_dlo_image_width

#define lws_dlo_image_width (   _u)
Value:
((_u)->failed ? -1 : \
((_u)->type == LWSDLOSS_TYPE_JPEG ? \
(int)lws_jpeg_get_width((_u)->u.dlo_jpeg->j) : \
(int)lws_upng_get_width((_u)->u.dlo_png->png)))
@ LWSDLOSS_TYPE_JPEG
Definition: lws-dlo.h:259
LWS_VISIBLE LWS_EXTERN unsigned int lws_jpeg_get_width(const lws_jpeg_t *j)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_width(const lws_upng_t *upng)

Definition at line 470 of file lws-dlo.h.

◆ lws_dlo_image_height

#define lws_dlo_image_height (   _u)
Value:
((_u)->failed ? -1 : \
((_u)->type == LWSDLOSS_TYPE_JPEG ? \
(int)lws_jpeg_get_height((_u)->u.dlo_jpeg->j) : \
(int)lws_upng_get_height((_u)->u.dlo_png->png)))
LWS_VISIBLE LWS_EXTERN unsigned int lws_jpeg_get_height(const lws_jpeg_t *j)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_height(const lws_upng_t *upng)

Definition at line 474 of file lws-dlo.h.

◆ lws_dlo_image_metadata_scan

#define lws_dlo_image_metadata_scan (   _u)
Value:
((_u)->failed ? LWS_SRET_FATAL : \
((_u)->type == LWSDLOSS_TYPE_JPEG ? \
lws_display_dlo_jpeg_metadata_scan((_u)->u.dlo_jpeg) : \
@ LWS_SRET_FATAL
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_dlo_png_metadata_scan(lws_dlo_png_t *dp)

Definition at line 479 of file lws-dlo.h.

Typedef Documentation

◆ lws_font_glyph_t

◆ lws_dlo_renderer_t

typedef lws_stateful_ret_t(* lws_dlo_renderer_t) (struct lws_display_render_state *rs)

Definition at line 78 of file lws-dlo.h.

◆ lws_dlo_image_glyph_t

typedef lws_font_glyph_t*(* lws_dlo_image_glyph_t) (struct lws_dlo_text *text, uint32_t unicode, char attach)

Definition at line 79 of file lws-dlo.h.

◆ lws_dlo_destroy_t

typedef void(* lws_dlo_destroy_t) (struct lws_dlo *dlo)

Definition at line 82 of file lws-dlo.h.

◆ lws_display_id_t

◆ lws_dlo_t

typedef struct lws_dlo lws_dlo_t

◆ lws_circle_t

typedef struct lws_circle lws_circle_t

◆ lws_dlo_rect_t

typedef struct lws_dlo_rect lws_dlo_rect_t

◆ lws_dlo_circle_t

◆ lws_font_choice_t

◆ lws_display_font_t

◆ lws_dlo_filesystem_t

◆ lws_dlo_text_t

typedef struct lws_dlo_text lws_dlo_text_t

◆ lws_dlo_rasterize_t

◆ lws_dlo_png_t

typedef struct lws_dlo_png lws_dlo_png_t

◆ lws_dlo_jpeg_t

typedef struct lws_dlo_jpeg lws_dlo_jpeg_t

◆ lws_displaylist_t

◆ lws_dl_rend_t

typedef struct lws_dl_rend lws_dl_rend_t

◆ lws_display_render_stack_t

◆ lws_display_render_state_t

Enumeration Type Documentation

◆ lws_dlo_image_type_t

Enumerator
LWSDLOSS_TYPE_JPEG 
LWSDLOSS_TYPE_PNG 
LWSDLOSS_TYPE_CSS 

Definition at line 258 of file lws-dlo.h.

258  {
lws_dlo_image_type_t
Definition: lws-dlo.h:258
@ LWSDLOSS_TYPE_CSS
Definition: lws-dlo.h:261
@ LWSDLOSS_TYPE_PNG
Definition: lws-dlo.h:260

Function Documentation

◆ lws_display_render_free_ids()

LWS_VISIBLE LWS_EXTERN void lws_display_render_free_ids ( lws_display_render_state_t rs)

◆ lws_display_render_add_id()

LWS_VISIBLE LWS_EXTERN lws_display_id_t* lws_display_render_add_id ( lws_display_render_state_t rs,
const char *  id,
void *  priv 
)

◆ lws_display_render_get_id()

LWS_VISIBLE LWS_EXTERN lws_display_id_t* lws_display_render_get_id ( lws_display_render_state_t rs,
const char *  id 
)

◆ lws_display_render_dump_ids()

LWS_VISIBLE LWS_EXTERN void lws_display_render_dump_ids ( lws_dll2_owner_t ids)

◆ lws_dlo_contents()

LWS_VISIBLE LWS_EXTERN void lws_dlo_contents ( lws_dlo_t parent,
lws_dlo_dim_t dim 
)

◆ lws_display_dlo_adjust_dims()

LWS_VISIBLE LWS_EXTERN void lws_display_dlo_adjust_dims ( lws_dlo_t dlo,
lws_dlo_dim_t dim 
)

◆ lws_display_dl_init()

LWS_VISIBLE LWS_EXTERN void lws_display_dl_init ( lws_displaylist_t dl,
struct lws_display_state ds 
)

lws_display_dl_init() - init display list object

Parameters
dlPointer to the display list
dsLws display state to bind the list to

Initializes the display list dl and binds it to the display state ds.

◆ lws_display_dl_dump()

LWS_VISIBLE LWS_EXTERN void lws_display_dl_dump ( lws_displaylist_t dl)

◆ lws_display_list_destroy()

LWS_VISIBLE LWS_EXTERN void lws_display_list_destroy ( lws_displaylist_t dl)

lws_display_list_destroy() - destroys display list and objects on it

Parameters
dlPointer to the display list

Destroys every DLO on the list.

◆ lws_display_dlo_destroy()

LWS_VISIBLE LWS_EXTERN void lws_display_dlo_destroy ( lws_dlo_t **  r)

◆ lws_display_dlo_add()

LWS_VISIBLE LWS_EXTERN int lws_display_dlo_add ( lws_displaylist_t dl,
lws_dlo_t dlo_parent,
lws_dlo_t dlo 
)

◆ lws_dlo_ensure_err_diff()

LWS_VISIBLE LWS_EXTERN int lws_dlo_ensure_err_diff ( lws_dlo_t dlo)

◆ lws_display_list_render_line()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_list_render_line ( lws_display_render_state_t rs)

◆ lws_display_get_ids_boxes()

◆ lws_display_dlo_rect_new()

LWS_VISIBLE LWS_EXTERN lws_dlo_rect_t* lws_display_dlo_rect_new ( lws_displaylist_t dl,
lws_dlo_t dlo_parent,
lws_box_t box,
const lws_fx_t radii,
lws_display_colour_t  dc 
)

◆ lws_display_render_rect()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_rect ( struct lws_display_render_state rs)

◆ lws_display_dlo_text_new()

LWS_VISIBLE LWS_EXTERN lws_dlo_text_t* lws_display_dlo_text_new ( lws_displaylist_t dl,
lws_dlo_t dlo_parent,
lws_box_t box,
const lws_display_font_t font 
)

◆ lws_display_dlo_text_update()

LWS_VISIBLE LWS_EXTERN int lws_display_dlo_text_update ( lws_dlo_text_t text,
lws_display_colour_t  dc,
lws_fx_t  indent,
const char *  utf8,
size_t  text_len 
)

◆ lws_display_dlo_text_destroy()

LWS_VISIBLE LWS_EXTERN void lws_display_dlo_text_destroy ( struct lws_dlo dlo)

◆ lws_display_dlo_png_new()

LWS_VISIBLE LWS_EXTERN lws_dlo_png_t* lws_display_dlo_png_new ( lws_displaylist_t dl,
lws_dlo_t dlo_parent,
lws_box_t box 
)

◆ lws_display_render_png()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_png ( struct lws_display_render_state rs)

◆ lws_display_dlo_png_metadata_scan()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_dlo_png_metadata_scan ( lws_dlo_png_t dp)

◆ lws_display_dlo_png_destroy()

LWS_VISIBLE LWS_EXTERN void lws_display_dlo_png_destroy ( struct lws_dlo dlo)

◆ lws_display_dlo_jpeg_new()

LWS_VISIBLE LWS_EXTERN lws_dlo_jpeg_t* lws_display_dlo_jpeg_new ( lws_displaylist_t dl,
lws_dlo_t dlo_parent,
lws_box_t box 
)

◆ lws_display_render_jpeg()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_render_jpeg ( struct lws_display_render_state rs)

◆ lws_display_dlo_jpeg_metadata_scan()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_display_dlo_jpeg_metadata_scan ( lws_dlo_jpeg_t dj)

◆ lws_display_dlo_jpeg_destroy()

LWS_VISIBLE LWS_EXTERN void lws_display_dlo_jpeg_destroy ( struct lws_dlo dlo)

◆ lws_dlo_ss_create()

LWS_VISIBLE LWS_EXTERN int lws_dlo_ss_create ( lws_dlo_ss_create_info_t i,
lws_dlo_t **  pdlo 
)

◆ lws_dlo_ss_find()

LWS_VISIBLE LWS_EXTERN int lws_dlo_ss_find ( struct lws_context *  cx,
const char *  url,
lws_dlo_image_t u 
)

◆ lhp_displaylist_layout()

LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lhp_displaylist_layout ( struct lhp_ctx ctx,
char  reason 
)

◆ lws_font_register()

LWS_VISIBLE LWS_EXTERN int lws_font_register ( struct lws_context *  cx,
const uint8_t data,
size_t  data_len 
)

◆ lws_font_choose()

LWS_VISIBLE LWS_EXTERN const lws_display_font_t* lws_font_choose ( struct lws_context *  cx,
const lws_font_choice_t hints 
)

◆ lws_fonts_destroy()

LWS_VISIBLE LWS_EXTERN void lws_fonts_destroy ( struct lws_context *  cx)

◆ lws_dlo_file_register()

LWS_VISIBLE LWS_EXTERN lws_dlo_filesystem_t* lws_dlo_file_register ( struct lws_context *  cx,
const lws_dlo_filesystem_t f 
)

◆ lws_dlo_file_unregister()

LWS_VISIBLE LWS_EXTERN void lws_dlo_file_unregister ( lws_dlo_filesystem_t **  f)

◆ lws_dlo_file_unregister_by_name()

LWS_VISIBLE LWS_EXTERN void lws_dlo_file_unregister_by_name ( struct lws_context *  cx,
const char *  name 
)

◆ lws_dlo_file_choose()

LWS_VISIBLE LWS_EXTERN const lws_dlo_filesystem_t* lws_dlo_file_choose ( struct lws_context *  cx,
const char *  name 
)

◆ lws_dlo_file_destroy()

LWS_VISIBLE LWS_EXTERN void lws_dlo_file_destroy ( struct lws_context *  cx)

Variable Documentation

◆ lws_dlo_fops

LWS_VISIBLE const struct lws_plat_file_ops lws_dlo_fops
extern