Atrinik Client  4.0
Data Fields
line_and_slope Struct Reference

Data Fields

int sx
 
int sy
 
int end_x
 
int end_y
 
double slope
 

Detailed Description

Line information structure.

Definition at line 84 of file tilestretcher.c.

Field Documentation

int line_and_slope::end_x

Ending X coordinate.

Definition at line 92 of file tilestretcher.c.

int line_and_slope::end_y

Ending Y coordinate.

Definition at line 95 of file tilestretcher.c.

double line_and_slope::slope

Vertical distance per horizontal, e.g. 2 means y moves by 2 for each x; 1/2 means x means 2 for each y (zero if the line is vertical).

Definition at line 102 of file tilestretcher.c.

int line_and_slope::sx

Starting X coordinate.

Definition at line 86 of file tilestretcher.c.

int line_and_slope::sy

Starting Y coordinate.

Definition at line 89 of file tilestretcher.c.


The documentation for this struct was generated from the following file: