TrueType edge sorting utilities.
Sorts glyph outline edges by y0 for scanline rasterization.
Derived Types
Components
| Type |
Visibility | Attributes |
|
Name |
| Initial | |
|
real(kind=dp),
|
public |
|
:: |
x0 |
|
|
|
|
real(kind=dp),
|
public |
|
:: |
y0 |
|
|
|
|
real(kind=dp),
|
public |
|
:: |
x1 |
|
|
|
|
real(kind=dp),
|
public |
|
:: |
y1 |
|
|
|
|
logical,
|
public |
|
:: |
invert |
|
|
|
Subroutines
Sort edges by y0 ascending. Quicksort + insertion sort.
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(tt_edge_t),
|
intent(inout) |
|
|
:: |
edges(:) |
|
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(tt_edge_t),
|
intent(inout) |
|
|
:: |
p(:) |
|
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(tt_edge_t),
|
intent(inout) |
|
|
:: |
p(:) |
|
|
integer,
|
intent(in) |
|
|
:: |
n |
|