fix: blobs now allow to be drawn in device pixels to stay sharp
C++ / fmt (pull_request) Failing after 5s
C++ / build (pull_request) Failing after 10s
C++ / clang-tidy (pull_request) Failing after 10s
JS/TS / fmt (pull_request) Successful in 9s
JS/TS / lint (pull_request) Successful in 25s
Python / static (pull_request) Successful in 34s
Rust / build (pull_request) Successful in 51s
Python / verify (pull_request) Failing after 1m25s
Rust / fmt (pull_request) Successful in 39s
Rust / clippy (pull_request) Successful in 59s
C++ / fmt (pull_request) Failing after 5s
C++ / build (pull_request) Failing after 10s
C++ / clang-tidy (pull_request) Failing after 10s
JS/TS / fmt (pull_request) Successful in 9s
JS/TS / lint (pull_request) Successful in 25s
Python / static (pull_request) Successful in 34s
Rust / build (pull_request) Successful in 51s
Python / verify (pull_request) Failing after 1m25s
Rust / fmt (pull_request) Successful in 39s
Rust / clippy (pull_request) Successful in 59s
This commit is contained in:
@@ -61,9 +61,6 @@ class BlobShape : public QQuickItem {
|
||||
|
||||
virtual void cornerRadii(float out[4]) const;
|
||||
|
||||
// Outer-edge corner radii. Only the inverted rect draws an outer frame edge,
|
||||
// so the base has no outer rounding and returns zeros. Subclasses that expose
|
||||
// outer corner properties override this (order: tr, br, bl, tl).
|
||||
virtual void outerCornerRadii(float out[4]) const {
|
||||
out[0] = 0;
|
||||
out[1] = 0;
|
||||
@@ -73,16 +70,19 @@ class BlobShape : public QQuickItem {
|
||||
|
||||
virtual void updatePhysics() {}
|
||||
|
||||
virtual bool needsFrame() const { return false; }
|
||||
|
||||
virtual void registerWithGroup();
|
||||
virtual void unregisterFromGroup();
|
||||
void updateCenteredDeformMatrix();
|
||||
|
||||
virtual void resetDeformMatrix();
|
||||
|
||||
BlobGroup* m_group = nullptr;
|
||||
qreal m_radius = 0;
|
||||
QMatrix4x4 m_deformMatrix; // identity by default
|
||||
QMatrix4x4 m_centeredDeformMatrix;
|
||||
|
||||
// Cached data from updatePolish
|
||||
float m_cachedPaddedX = 0;
|
||||
float m_cachedPaddedY = 0;
|
||||
float m_cachedPaddedW = 0;
|
||||
|
||||
Reference in New Issue
Block a user