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

Method Color

src/Color.cpp:21–25  ·  view source on GitHub ↗

Constructor which takes R,G,B,A

Source from the content-addressed store, hash-verified

19
20// Constructor which takes R,G,B,A
21Color::Color(unsigned char Red, unsigned char Green, unsigned char Blue, unsigned char Alpha) :
22 red(static_cast<double>(Red)),
23 green(static_cast<double>(Green)),
24 blue(static_cast<double>(Blue)),
25 alpha(static_cast<double>(Alpha)) { }
26
27// Constructor which takes 4 existing Keyframe curves
28Color::Color(Keyframe Red, Keyframe Green, Keyframe Blue, Keyframe Alpha) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected