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

Method keepAspectRatio

src/backend/common/image.hpp:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 inline void setAlpha(const float pAlpha) { mImage->setAlpha(pAlpha); }
40
41 inline void keepAspectRatio(const bool pKeep) { mImage->keepAspectRatio(pKeep); }
42
43 inline unsigned width() const { return mImage->width(); }
44

Callers 1

drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected