MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / setTransformationMode

Method setTransformationMode

src/components/Image/RNImage.ts:106–110  ·  view source on GitHub ↗
(mode: TransformationMode)

Source from the content-addressed store, hash-verified

104 this.scalePixmap(this.size());
105 }
106 setTransformationMode(mode: TransformationMode) {
107 // react:✓ TODO://getter
108 this.transformationMode = mode;
109 this.scalePixmap(this.size());
110 }
111 scalePixmap(size: QSize) {
112 if (this.originalPixmap) {
113 return super.setPixmap(

Callers 1

transformationModeFunction · 0.80

Calls 1

scalePixmapMethod · 0.95

Tested by

no test coverage detected