Baseflow / Baseflow/PhotoView

SetDisplayMatrix not returning proper value

Open
#276 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

if you set the display matrix of the attacher like:

```
float[] values = {0.9834f, 0.0f, -359.31018f, 0.0f, 0.9834f, -314.1286f, 0.0f, 0.0f, 1.0f};
Matrix viewPortMatrix = new Matrix();
viewPortMatrix.setValues(values);
```

Then call

```
mAttacher.getDisplayMatrix()
```

You get the default Matrix{[0.0, 0.0, 0.0][0.0, 0.0, 0.0][0.0, 0.0, 1.0]} instead of the values just set

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.