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

Method Negate

src/effects/Negate.cpp:19–30  ·  view source on GitHub ↗

Default constructor

Source from the content-addressed store, hash-verified

17
18// Default constructor
19Negate::Negate()
20{
21 /// Initialize the values of the EffectInfo struct.
22 InitEffectInfo();
23
24 /// Set the effect info
25 info.class_name = "Negate";
26 info.name = "Negative";
27 info.description = "Negates the colors, producing a negative of the image.";
28 info.has_audio = false;
29 info.has_video = true;
30}
31
32// This method is required for all derived classes of EffectBase, and returns a
33// modified openshot::Frame object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected