Lines Matching refs:gradient_vector
437 gradient->gradient_vector.x2=(double) image->columns-1; in GradientImage()
438 gradient->gradient_vector.y2=(double) image->rows-1; in GradientImage()
451 gradient->gradient_vector.x1=(double) image->columns-1; in GradientImage()
452 gradient->gradient_vector.y1=(double) image->rows-1; in GradientImage()
453 gradient->gradient_vector.x2=0.0; in GradientImage()
454 gradient->gradient_vector.y2=0.0; in GradientImage()
459 gradient->gradient_vector.x1=0.0; in GradientImage()
460 gradient->gradient_vector.y1=(double) image->rows-1; in GradientImage()
461 gradient->gradient_vector.x2=0.0; in GradientImage()
462 gradient->gradient_vector.y2=0.0; in GradientImage()
467 gradient->gradient_vector.x1=0.0; in GradientImage()
468 gradient->gradient_vector.y1=(double) image->rows-1; in GradientImage()
469 gradient->gradient_vector.x2=(double) image->columns-1; in GradientImage()
470 gradient->gradient_vector.y2=0.0; in GradientImage()
475 gradient->gradient_vector.x1=(double) image->columns-1; in GradientImage()
476 gradient->gradient_vector.y1=0.0; in GradientImage()
477 gradient->gradient_vector.x2=0.0; in GradientImage()
478 gradient->gradient_vector.y2=0.0; in GradientImage()
483 gradient->gradient_vector.x1=0.0; in GradientImage()
484 gradient->gradient_vector.y1=0.0; in GradientImage()
485 gradient->gradient_vector.x2=(double) image->columns-1; in GradientImage()
486 gradient->gradient_vector.y2=0.0; in GradientImage()
491 gradient->gradient_vector.x1=(double) image->columns-1; in GradientImage()
492 gradient->gradient_vector.y1=0.0; in GradientImage()
493 gradient->gradient_vector.x2=0.0; in GradientImage()
494 gradient->gradient_vector.y2=(double) image->rows-1; in GradientImage()
499 gradient->gradient_vector.x1=0.0; in GradientImage()
500 gradient->gradient_vector.y1=0.0; in GradientImage()
501 gradient->gradient_vector.x2=0.0; in GradientImage()
502 gradient->gradient_vector.y2=(double) image->columns-1; in GradientImage()
507 gradient->gradient_vector.x1=0.0; in GradientImage()
508 gradient->gradient_vector.y1=0.0; in GradientImage()
509 gradient->gradient_vector.x2=(double) image->columns-1; in GradientImage()
510 gradient->gradient_vector.y2=(double) image->rows-1; in GradientImage()
523 &gradient->gradient_vector.x1,&gradient->gradient_vector.y1, in GradientImage()
524 &gradient->gradient_vector.x2,&gradient->gradient_vector.y2); in GradientImage()
529 if ((type == LinearGradient) && (gradient->gradient_vector.y2 != 0.0)) in GradientImage()
530 gradient->gradient_vector.x2=0.0; in GradientImage()
531 gradient->center.x=(double) gradient->gradient_vector.x2/2.0; in GradientImage()
532 gradient->center.y=(double) gradient->gradient_vector.y2/2.0; in GradientImage()
552 gradient->gradient_vector.x1=0.5*((image->columns-1.0)-distance*cosine); in GradientImage()
553 gradient->gradient_vector.y1=0.5*((image->rows-1.0)-distance*sine); in GradientImage()
554 gradient->gradient_vector.x2=0.5*((image->columns-1.0)+distance*cosine); in GradientImage()
555 gradient->gradient_vector.y2=0.5*((image->rows-1.0)+distance*sine); in GradientImage()