MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getRGBImpl

Method getRGBImpl

CodenameOne/src/com/codename1/ui/Image.java:1674–1680  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1672 }
1673
1674 int[] getRGBImpl() {
1675 int width = getWidth();
1676 int height = getHeight();
1677 int[] rgbData = allocateRgbArray(width * height);
1678 getRGB(rgbData, 0, 0, 0, width, height);
1679 return rgbData;
1680 }
1681
1682 /// Allocates an ARGB pixel array. The returned array is always a Simd-registered
1683 /// buffer (allocated via `Simd.allocInt`) regardless of whether SIMD optimizations

Callers 2

getRGBMethod · 0.95
getRGBCachedMethod · 0.95

Calls 4

getWidthMethod · 0.95
getHeightMethod · 0.95
allocateRgbArrayMethod · 0.95
getRGBMethod · 0.95

Tested by

no test coverage detected