Searched refs:KEY_AS (Results 1 – 1 of 1) sorted by relevance
37 #define KEY_AS(name) !strcmp(key, name) macro165 if (KEY_AS("s")) doc.size = getFloat() * 0.01f; in getValue()166 else if (KEY_AS("f")) doc.name = getStringCopy(); in getValue()167 else if (KEY_AS("t")) doc.text = getStringCopy(); in getValue()168 else if (KEY_AS("j")) doc.justify = getInt(); in getValue()169 else if (KEY_AS("tr")) doc.tracking = getFloat() * 0.1f; in getValue()170 else if (KEY_AS("lh")) doc.height = getFloat(); in getValue()171 else if (KEY_AS("ls")) doc.shift = getFloat(); in getValue()172 else if (KEY_AS("fc")) getValue(doc.color); in getValue()173 else if (KEY_AS("ps")) getValue(doc.bbox.pos); in getValue()[all …]