|
NetSurf
|
#include <stdio.h>#include <libcss/libcss.h>#include "netsurf/inttypes.h"#include "css/dump.h"#include "css/utils.h"Go to the source code of this file.
Macros | |
| #define | NSCSS_ABS(x) (uint32_t)((x) < 0 ? -(x) : (x)) |
Functions | |
| static void | dump_css_fixed (FILE *stream, css_fixed f) |
| Dump a fixed point value to the stream in a textual form. More... | |
| static void | dump_css_number (FILE *stream, css_fixed val) |
| Dump a numeric value to the stream in a textual form. More... | |
| static void | dump_css_unit (FILE *stream, css_fixed val, css_unit unit) |
| Dump a dimension to the stream in a textual form. More... | |
| void | nscss_dump_computed_style (FILE *stream, const css_computed_style *style) |
| Dump a computed style style to the give file handle stream. More... | |
| #define NSCSS_ABS | ( | x | ) | (uint32_t)((x) < 0 ? -(x) : (x)) |
|
static |
Dump a fixed point value to the stream in a textual form.
| stream | Stream to write to |
| f | Value to write |
Definition at line 33 of file dump.c.
References NSCSS_ABS.
Referenced by dump_css_number(), and nscss_dump_computed_style().
|
static |
Dump a numeric value to the stream in a textual form.
| stream | Stream to write to |
| val | Value to write |
Definition at line 50 of file dump.c.
References dump_css_fixed().
Referenced by dump_css_unit().
|
static |
Dump a dimension to the stream in a textual form.
| stream | Stream to write to |
| val | Value to write |
| unit | Unit to write |
Definition at line 65 of file dump.c.
References dump_css_number().
Referenced by nscss_dump_computed_style().
| void nscss_dump_computed_style | ( | FILE * | stream, |
| const css_computed_style * | style | ||
| ) |
Dump a computed style style to the give file handle stream.
| stream | Stream to write to |
| style | Computed style to dump |
Definition at line 155 of file dump.c.
References dump_css_fixed(), dump_css_unit(), ns_computed_display_static(), ns_computed_min_height(), ns_computed_min_width(), and content::string.
Referenced by box_dump().