Searched refs:orig_desc (Results 1 – 1 of 1) sorted by relevance
389 Shaper::Result ShapeToFit(const SkString& txt, const Shaper::TextDesc& orig_desc, in ShapeToFit() argument393 if (box.isEmpty() || orig_desc.fTextSize <= 0) { in ShapeToFit()397 auto desc = orig_desc; in ShapeToFit()414 desc.fTextSize = try_scale * orig_desc.fTextSize; in ShapeToFit()415 desc.fLineHeight = try_scale * orig_desc.fLineHeight; in ShapeToFit()416 desc.fLineShift = try_scale * orig_desc.fLineShift; in ShapeToFit()417 desc.fAscent = try_scale * orig_desc.fAscent; in ShapeToFit()