OpenShot Library | libopenshot  0.5.0
Namespaces | Functions
CropHelpers.h File Reference

Shared helpers for Crop effect scaling logic. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 openshot
 This namespace is the default namespace for all code in the openshot library.
 

Functions

void openshot::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. More...
 
const Crop * openshot::FindResizingCropEffect (Clip *clip)
 Return the first Crop effect on this clip that has resize enabled (if any) More...
 

Detailed Description

Shared helpers for Crop effect scaling logic.

Author
Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org

License

Definition in file CropHelpers.h.