|
Image Interpolation with Contour Stencils
|
Draw a black antialiased line. More...
#include "basic.h"

Go to the source code of this file.
Functions | |
| void | DrawLine (uint32_t *Image, int Width, int Height, float x1, float y1, float x2, float y2, const float *Color) |
| Draw an antialiased line. More... | |
Draw a black antialiased line.
Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see http://www.opensource.org/licenses/bsd-license.html.
Definition in file drawline.h.
| void DrawLine | ( | uint32_t * | Image, |
| int | Width, | ||
| int | Height, | ||
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| const float * | Color | ||
| ) |
Draw an antialiased line.
| Image | image to draw on |
| Width,Height | image dimensions |
| x1,y1,x2,y2 | line coordinates |
| Color | RGB color of the line |
Definition at line 59 of file drawline.c.

1.8.3.1