libcss
Loading...
Searching...
No Matches
unit.h
Go to the documentation of this file.
1/*
2 * This file is part of LibCSS
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 *
6 * Copyright 2021 Michael Drake <tlsa@netsurf-browser.org>
7 */
8
9#ifndef css_select_unit_h_
10#define css_select_unit_h_
11
12#include <libcss/unit.h>
13
23 const css_unit_ctx *ctx,
24 const css_fixed length,
25 const css_unit unit);
26
37 const css_hint_length *ref_length,
38 const css_computed_style *root_style,
39 css_fixed font_size_default,
40 css_hint *size);
41
52
53#endif
unit
Definition bytecode.h:49
css_error
Definition errors.h:18
int32_t css_fixed
Definition fpmath.h:23
css_error css_unit_compute_absolute_font_size(const css_hint_length *ref_length, const css_computed_style *root_style, css_fixed font_size_default, css_hint *size)
Definition unit.c:398
css_fixed css_unit_angle2deg(const css_unit unit, const css_fixed angle)
Definition unit.c:516
css_fixed css_unit_len2px_mq(const css_unit_ctx *ctx, const css_fixed length, const css_unit unit)
Definition unit.c:281
Definition autogenerated_computed.h:282
Definition hint.h:26
Definition hint.h:34
Definition unit.h:39
css_unit
Definition types.h:82