MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / getPattern

Method getPattern

librecad/src/ui/qg_patternbox.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84std::shared_ptr<RS_Pattern> QG_PatternBox::getPattern() {
85 if (currentPattern == nullptr || currentPattern->countDeep()==0)
86 currentPattern = RS_PATTERNLIST->requestPattern(currentText());
87 return currentPattern;
88}
89
90/**
91 * Called when the pattern has changed. This method

Callers 4

slotTestDumpEntitiesMethod · 0.45
setHatchMethod · 0.45
setPatternMethod · 0.45
updatePreviewMethod · 0.45

Calls 2

requestPatternMethod · 0.80
countDeepMethod · 0.45

Tested by 1

slotTestDumpEntitiesMethod · 0.36