NAME
image_draw_add_to_point_2 - Bleands (r,g,b) with a point 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_add_to_point_2
(
KJB_image *ip,
int i,
int j,
int width,
float f_r,
float f_g,
float f_b
);
DESCRIPTION
This routine crudely blends (r,g,b) to the pixels (i += width, j += width) of
"ip". The color triple is specified using integers. See
image_blend_with_point_2() for a similar routine using floating point
(r,g,b), and image_add_to_point() to force adding the (r,g,b), and
image_draw_point() to overwrite the pixel entirely.
NOTE
If displayed, image (i,j) generally results in the first coordinate
indexing row number downwards, and the second coordinate indexing column.
Thus the X and Y axes swap, and the vertical axis goes in the opposite
direction than in the XY coordinate system.
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_gradient_2
,
image_draw_points
,
image_draw_pixels
,
image_draw_point
,
image_draw_point_2
,
image_draw_add_to_point
,
image_draw_image
,
image_draw_rectangle
,
image_draw_rectangle_2
,
image_draw_circle
,
image_draw_circle_2
,
image_draw_disk
,
image_draw_disk_2