Go to the source code of this file.
◆ str_replace()
bool str_replace |
( |
std::string & |
str, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to |
|
) |
| |
Definition at line 36 of file image_shader.cpp.
37 size_t start_pos =
str.find(from);
38 if (start_pos == std::string::npos)
40 str.replace(start_pos, from.length(), to);
JNIEnv jobject jstring str
◆ getOutputCropMapping()
Definition at line 45 of file image_shader.cpp.
47 (
float)outputClipRect.
getX1() /
out.getWidth(),
48 (
float)outputClipRect.
getY1() /
out.getHeight(),
49 (
float)outputClipRect.
getX2() /
out.getWidth(),
50 (
float)outputClipRect.
getY2() /
out.getHeight()
2x3 affine mapping containing a 2x2 matrix and a 2D point
AffineMapping getInverse() const
Returns inverse mapping.