MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Caption

Method Caption

src/effects/Caption.cpp:30–36  ·  view source on GitHub ↗

Blank constructor, useful when using Json to load the effect properties

Source from the content-addressed store, hash-verified

28
29/// Blank constructor, useful when using Json to load the effect properties
30Caption::Caption() : color("#ffffff"), stroke("#a9a9a9"), background("#ff000000"), background_alpha(0.0), left(0.1), top(0.75), right(0.1),
31 stroke_width(0.5), font_size(30.0), font_alpha(1.0), is_dirty(true), font_name("sans"), font(NULL), metrics(NULL),
32 fade_in(0.35), fade_out(0.35), background_corner(10.0), background_padding(20.0), line_spacing(1.0)
33{
34 // Init effect properties
35 init_effect_details();
36}
37
38// Default constructor
39Caption::Caption(std::string captions) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected