MCPcopy Create free account
hub / github.com/JetBrains/skija / getRowBytesAsPixels

Method getRowBytesAsPixels

shared/java/Bitmap.java:100–107  ·  view source on GitHub ↗

Returns number of pixels that fit on row. Should be greater than or equal to getWidth(). @return maximum pixels per row

()

Source from the content-addressed store, hash-verified

98 * @return maximum pixels per row
99 */
100 public int getRowBytesAsPixels() {
101 try {
102 Stats.onNativeCall();
103 return _nGetRowBytesAsPixels(_ptr);
104 } finally {
105 Reference.reachabilityFence(this);
106 }
107 }
108
109 /**
110 * Returns true if PixelRef is null.

Callers 1

executeMethod · 0.45

Calls 2

onNativeCallMethod · 0.95
_nGetRowBytesAsPixelsMethod · 0.95

Tested by 1

executeMethod · 0.36