Searched refs:xmul (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DTexturePaintContext.java323 * described by xmul and ymul in the following ratio:
325 * rgbs[0] * (1-xmul) * (1-ymul) +
326 * rgbs[1] * ( xmul) * (1-ymul) +
327 * rgbs[2] * (1-xmul) * ( ymul) +
328 * rgbs[3] * ( xmul) * ( ymul)
330 * xmul and ymul are integer values in the half-open range [0, 2^31)
338 public static int blend(int rgbs[], int xmul, int ymul) { argument
339 // xmul/ymul are 31 bits wide, (0 => 2^31-1)
341 xmul = (xmul >>> 1
[all...]

Completed in 68 milliseconds