13#ifndef OPENSHOT_CROP_HELPERS_H
14#define OPENSHOT_CROP_HELPERS_H
This class represents a clip (used to arrange readers on the timeline).
This class crops a frame image (from any side), and can be animated with openshot::Keyframe curves ov...
This namespace is the default namespace for all code in the openshot library.
const Crop * FindResizingCropEffect(Clip *clip)
Return the first Crop effect on this clip that has resize enabled (if any).
void ApplyCropResizeScale(Clip *clip, int source_width, int source_height, int &max_width, int &max_height)
Scale the requested max_width / max_height based on the Crop resize amount, capped by source size.