Rev 4364 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4364 | Rev 5043 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | * \return length in pixels |
71 | * \return length in pixels |
72 | */ |
72 | */ |
73 | css_fixed nscss_len2px(css_fixed length, css_unit unit, |
73 | css_fixed nscss_len2px(css_fixed length, css_unit unit, |
74 | const css_computed_style *style) |
74 | const css_computed_style *style) |
75 | { |
75 | { |
76 | /* We assume the screen and any other output has the same dpi */ |
76 | /* We assume the screen and ay other output has the same dpi */ |
77 | css_fixed px_per_unit; |
77 | css_fixed px_per_unit; |
Line 78... | Line 78... | ||
78 | 78 | ||
Line 79... | Line 79... | ||
79 | assert(style != NULL || (unit != CSS_UNIT_EM && unit != CSS_UNIT_EX)); |
79 | assert(style != NULL || (unit != CSS_UNIT_EM && unit != CSS_UNIT_EX)); |