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

Function IsPointBeforeX

src/KeyFrame.cpp:31–33  ·  view source on GitHub ↗

Check if the X coordinate of a given Point is lower than a given value

Source from the content-addressed store, hash-verified

29
30 // Check if the X coordinate of a given Point is lower than a given value
31 bool IsPointBeforeX(Point const & p, double const x) {
32 return p.co.X < x;
33 }
34
35 // Linear interpolation between two points
36 double InterpolateLinearCurve(Point const & left, Point const & right, double const target) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected