Lines Matching refs:doc
991 auto& doc = text->doc(frameNo); in updateText() local
992 auto p = doc.text; in updateText()
996 auto scale = doc.size; in updateText()
1013 if (ascent > doc.bbox.size.y) ascent = doc.bbox.size.y; in updateText()
1014 Point layout = {doc.bbox.pos.x, doc.bbox.pos.y + ascent - doc.shift}; in updateText()
1017 if (doc.justify == 1) layout.x += doc.bbox.size.x - (cursor.x * scale); //right aligned in updateText()
1018 …else if (doc.justify == 2) layout.x += (doc.bbox.size.x * 0.5f) - (cursor.x * 0.5f * scale); //ce… in updateText()
1034 cursor.y = (++line * doc.height + totalLineSpacing) / scale; in updateText()
1056 shape->fill(doc.color.rgb[0], doc.color.rgb[1], doc.color.rgb[2]); in updateText()
1060 if (doc.stroke.render) { in updateText()
1062 shape->stroke(doc.stroke.width / scale); in updateText()
1063 … shape->stroke(doc.stroke.color.rgb[0], doc.stroke.color.rgb[1], doc.stroke.color.rgb[2]); in updateText()
1094 if (doc.stroke.render) { in updateText()
1118 cursor.x += glyph->width + doc.tracking; in updateText()
1344 auto& doc = text->doc(0); in _attachFont() local
1345 if (!doc.name) continue; in _attachFont()
1346 auto len = strlen(doc.name); in _attachFont()
1350 if (len == len2 && !strcmp(font->name, doc.name)) { in _attachFont()