MCPcopy Create free account
hub / github.com/arrayfire/forge / fg_set_image_aspect_ratio

Function fg_set_image_aspect_ratio

src/api/c/image.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76fg_err fg_set_image_aspect_ratio(fg_image pImage, const bool pKeepRatio)
77{
78 try {
79 getImage(pImage)->keepAspectRatio(pKeepRatio);
80 }
81 CATCHALL
82
83 return FG_ERR_NONE;
84}
85
86fg_err fg_get_image_width(unsigned *pOut, const fg_image pImage)
87{

Callers 1

keepAspectRatioMethod · 0.85

Calls 2

getImageFunction · 0.85
keepAspectRatioMethod · 0.45

Tested by

no test coverage detected