NAME
image_draw_gradient_2 - Draws a line segment with gradient on an image
SYNOPSIS
#include "i/i_draw.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int image_draw_gradient_2
(
KJB_image *ip,
int i_beg,
int j_beg,
int i_end,
int j_end,
int width,
int r1,
int g1,
int b1,
int r2,
int g2,
int b2
);
DESCRIPTION
This routine sets the pixels of "ip" in the segment joining (i_beg, i_end) to
(j_beg, j_end) to a shade of (r1,g1,b1) and (r2,g2,b2).
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
image_draw_contour
,
image_draw_segment
,
image_draw_segment_2
,
image_draw_gradient
,
image_draw_points
,
image_draw_pixels
,
image_draw_point
,
image_draw_point_2
,
image_draw_add_to_point
,
image_draw_add_to_point_2
,
image_draw_image
,
image_draw_rectangle
,
image_draw_rectangle_2
,
image_draw_circle
,
image_draw_circle_2
,
image_draw_disk
,
image_draw_disk_2