Functions | Variables

drawline.c File Reference

#include <math.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "pkvaria.h"
#include "pkgeom.h"
Include dependency graph for drawline.c:

Functions

void _pkv_InitPixelBuffer (void)
void _pkv_DestroyPixelBuffer (void)
void _pkv_DrawLine (int x1, int y1, int x2, int y2)
void pkv_DrawLine (int x1, int y1, int x2, int y2, void(*output)(const xpoint *buf, int n))

Variables

void(* _pkv_OutputPixels )(const xpoint *buf, int n) = NULL
xpoint_pkv_pixbuf = NULL
int _pkv_npix = 0

Function Documentation

void _pkv_DestroyPixelBuffer ( void   ) 
void _pkv_DrawLine ( int  x1,
int  y1,
int  x2,
int  y2 
)
void _pkv_InitPixelBuffer ( void   ) 
void pkv_DrawLine ( int  x1,
int  y1,
int  x2,
int  y2,
void(*)(const xpoint *buf, int n)  output 
)

Variable Documentation

int _pkv_npix = 0
void(* _pkv_OutputPixels)(const xpoint *buf, int n) = NULL