struct svgtiny_parse_state *state)
{
css_error code;
- uint8_t fill_opacity_type;
css_fixed fill_opacity;
- uint8_t stroke_opacity_type;
css_fixed stroke_opacity;
/* We store the result of svgtiny_parse_style_inline() in
styles->styles[CSS_PSEUDO_ELEMENT_NONE] = composed;
}
- fill_opacity_type = css_computed_fill_opacity(
- styles->styles[CSS_PSEUDO_ELEMENT_NONE],
- &fill_opacity);
- stroke_opacity_type = css_computed_stroke_opacity(
- styles->styles[CSS_PSEUDO_ELEMENT_NONE],
- &stroke_opacity);
+ css_computed_fill_opacity(
+ styles->styles[CSS_PSEUDO_ELEMENT_NONE],
+ &fill_opacity);
+ css_computed_stroke_opacity(
+ styles->styles[CSS_PSEUDO_ELEMENT_NONE],
+ &stroke_opacity);
state->fill_opacity = FIXTOFLT(fill_opacity);
state->stroke_opacity = FIXTOFLT(stroke_opacity);