• Home
  • Raw
  • Download

Lines Matching refs:desc

32     const PP_FontDescription_Dev& desc) {  in SetFromPPFontDescription()  argument
33 StringVar* string_var = StringVar::FromPPVar(desc.face); in SetFromPPFontDescription()
36 family = desc.family; in SetFromPPFontDescription()
37 size = desc.size; in SetFromPPFontDescription()
38 weight = desc.weight; in SetFromPPFontDescription()
39 italic = desc.italic; in SetFromPPFontDescription()
40 small_caps = desc.small_caps; in SetFromPPFontDescription()
41 letter_spacing = desc.letter_spacing; in SetFromPPFontDescription()
42 word_spacing = desc.word_spacing; in SetFromPPFontDescription()
46 const PP_BrowserFont_Trusted_Description& desc) { in SetFromPPBrowserFontDescription() argument
47 StringVar* string_var = StringVar::FromPPVar(desc.face); in SetFromPPBrowserFontDescription()
50 family = desc.family; in SetFromPPBrowserFontDescription()
51 size = desc.size; in SetFromPPBrowserFontDescription()
52 weight = desc.weight; in SetFromPPBrowserFontDescription()
53 italic = desc.italic; in SetFromPPBrowserFontDescription()
54 small_caps = desc.small_caps; in SetFromPPBrowserFontDescription()
55 letter_spacing = desc.letter_spacing; in SetFromPPBrowserFontDescription()
56 word_spacing = desc.word_spacing; in SetFromPPBrowserFontDescription()
60 PP_FontDescription_Dev* desc) const { in SetToPPFontDescription()
61 desc->face = StringVar::StringToPPVar(face); in SetToPPFontDescription()
62 desc->family = static_cast<PP_FontFamily_Dev>(family); in SetToPPFontDescription()
63 desc->size = size; in SetToPPFontDescription()
64 desc->weight = static_cast<PP_FontWeight_Dev>(weight); in SetToPPFontDescription()
65 desc->italic = italic; in SetToPPFontDescription()
66 desc->small_caps = small_caps; in SetToPPFontDescription()
67 desc->letter_spacing = letter_spacing; in SetToPPFontDescription()
68 desc->word_spacing = word_spacing; in SetToPPFontDescription()
72 PP_BrowserFont_Trusted_Description* desc) const { in SetToPPBrowserFontDescription()
73 desc->face = StringVar::StringToPPVar(face); in SetToPPBrowserFontDescription()
74 desc->family = static_cast<PP_BrowserFont_Trusted_Family>(family); in SetToPPBrowserFontDescription()
75 desc->size = size; in SetToPPBrowserFontDescription()
76 desc->weight = static_cast<PP_BrowserFont_Trusted_Weight>(weight); in SetToPPBrowserFontDescription()
77 desc->italic = italic; in SetToPPBrowserFontDescription()
78 desc->small_caps = small_caps; in SetToPPBrowserFontDescription()
79 desc->letter_spacing = letter_spacing; in SetToPPBrowserFontDescription()
80 desc->word_spacing = word_spacing; in SetToPPBrowserFontDescription()
103 const PP_TrueTypeFontDesc_Dev& desc) { in SetFromPPTrueTypeFontDesc() argument
104 StringVar* string_var = StringVar::FromPPVar(desc.family); in SetFromPPTrueTypeFontDesc()
107 generic_family = desc.generic_family; in SetFromPPTrueTypeFontDesc()
108 style = desc.style; in SetFromPPTrueTypeFontDesc()
109 weight = desc.weight; in SetFromPPTrueTypeFontDesc()
110 width = desc.width; in SetFromPPTrueTypeFontDesc()
111 charset = desc.charset; in SetFromPPTrueTypeFontDesc()
115 PP_TrueTypeFontDesc_Dev* desc) const { in CopyToPPTrueTypeFontDesc()
116 desc->family = StringVar::StringToPPVar(family); in CopyToPPTrueTypeFontDesc()
118 desc->generic_family = generic_family; in CopyToPPTrueTypeFontDesc()
119 desc->style = style; in CopyToPPTrueTypeFontDesc()
120 desc->weight = weight; in CopyToPPTrueTypeFontDesc()
121 desc->width = width; in CopyToPPTrueTypeFontDesc()
122 desc->charset = charset; in CopyToPPTrueTypeFontDesc()