Searched defs:sub (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DDPSScrollW.c344 /* Subtract sub from src, putting result into dst. Return rectangle count */
346 static int Subtract(float *src, float *sub, float *dst) argument
350 /* If bottom of sub is greater than bottom of src, there's a
352 if (BOTTOM(sub) > BOTTOM(src)) {
356 HEIGHT(dst) = BOTTOM(sub) - BOTTOM(src);
361 /* If left of sub is greater than left of src, there's a left rectangle. */
362 if (LEFT(sub) > LEFT(src)) {
364 BOTTOM(dst) = MAX(BOTTOM(src), BOTTOM(sub));
365 WIDTH(dst) = LEFT(sub) - LEFT(src);
366 HEIGHT(dst) = MIN(TOP(src), TOP(sub))
418 SubtractRects( float **src, short *src_size, short *num_src, float *sub, int num_sub) argument
[all...]

Completed in 19 milliseconds