MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getFormat

Method getFormat

Gui/ProjectGui.cpp:254–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254Format
255AddFormatDialog::getFormat() const
256{
257 int w = (int)_widthSpinBox->value();
258 int h = (int)_heightSpinBox->value();
259 double pa = _pixelAspectSpinBox->value();
260 QString name = _nameLineEdit->text();
261
262 return Format(0, 0, w, h, name.toStdString(), pa);
263}
264
265// Version is handled in ProjectGuiSerialization
266template<>

Callers 1

createNewFormatMethod · 0.45

Calls 3

toStdStringMethod · 0.80
FormatFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected