Then, during style resolution, FontBuilder::CreateFont is called to update the Font object based on the properties stored in FontDescription and thus link those two objects together. In the opposite direction, the ValueForFont… methods in computed_style_css_value_ convert back from FontDescription back to CSS values. For this to work, after CSS is parsed into the various specialized CSSValue-derived types, the ConvertFont… methods in style_builder_ convert from CSSValues to FontDescription data structures. Each ComputedStyle will own a Font and a FontDescription object.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |