| 2095 | } |
| 2096 | } |
| 2097 | void popMatrix() { |
| 2098 | mMatrixStack.pop_back(); |
| 2099 | mMatrixStackContainsIllegal = false; |
| 2100 | for( size_t s = 0; s < mMatrixStack.size(); ++s ) { |
| 2101 | const mat3 &m = mMatrixStack[s]; |
| 2102 | if( isSingular( m ) ) { |
| 2103 | mMatrixStackContainsIllegal = true; |
| 2104 | break; |
| 2105 | } |
| 2106 | } |
| 2107 | |
| 2108 | if( ! mMatrixStackContainsIllegal ) { |
| 2109 | mCtx.setMatrix( mMatrixStack.back() ); |
| 2110 | } |
| 2111 | } |
| 2112 | |
| 2113 | void pushStyle( const svg::Style &style ) {} |
| 2114 | void popStyle() {} |
no test coverage detected