MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / GetLineShear

Method GetLineShear

src/visual_tool.cpp:442–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442void VisualToolBase::GetLineShear(AssDialogue *diag, float& fax, float& fay) {
443 fax = fay = 0.f;
444
445 auto blocks = diag->ParseTags();
446
447 if (param_vec tag = find_tag(blocks, "\\fax"))
448 fax = tag->front().Get(fax);
449 if (param_vec tag = find_tag(blocks, "\\fay"))
450 fay = tag->front().Get(fay);
451}
452
453void VisualToolBase::GetLineScale(AssDialogue *diag, Vector2D &scale) {
454 float x = 100.f, y = 100.f;

Callers

nothing calls this directly

Calls 3

find_tagFunction · 0.85
ParseTagsMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected