MCPcopy Create free account
hub / github.com/java-native-access/jna / Xrender

Interface Xrender

contrib/platform/src/com/sun/jna/platform/unix/X11.java:318–353  ·  view source on GitHub ↗

Definition (incomplete) of the Xrender library.

Source from the content-addressed store, hash-verified

316
317 /** Definition (incomplete) of the Xrender library. */
318 interface Xrender extends Library {
319 Xrender INSTANCE = Native.load("Xrender", Xrender.class);
320
321 @FieldOrder({"red", "redMask", "green", "greenMask", "blue", "blueMask", "alpha", "alphaMask"})
322 class XRenderDirectFormat extends Structure {
323 public short red, redMask;
324 public short green, greenMask;
325 public short blue, blueMask;
326 public short alpha, alphaMask;
327 }
328
329 class PictFormat extends XID {
330 private static final long serialVersionUID = 1L;
331 public static final PictFormat None = null;
332 public PictFormat(long value) { super(value); }
333 public PictFormat() { this(0); }
334 @Override
335 public Object fromNative(Object nativeValue, FromNativeContext context) {
336 if (isNone(nativeValue))
337 return None;
338 return new PictFormat(((Number)nativeValue).longValue());
339 }
340 }
341
342 @FieldOrder({"id", "type", "depth", "direct", "colormap"})
343 class XRenderPictFormat extends Structure {
344 public PictFormat id;
345 public int type;
346 public int depth;
347 public XRenderDirectFormat direct;
348 public Colormap colormap;
349 }
350 int PictTypeIndexed = 0x0;
351 int PictTypeDirect = 0x1;
352 XRenderPictFormat XRenderFindVisualFormat(Display display, Visual visual);
353 }
354
355 /** Definition of the Xevie library. */
356 interface Xevie extends Library {

Callers 1

getAlphaVisualIDsMethod · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…