HomeManualTopicsTypesSymbols

std_types::screen/std::fill_trapezoid

draws a filled trapezoid (without borders)

Parameters

screen
the screen or terminal onto which to draw
x1
the x-coordinate of the top left corner
y1
the y-coordinate of the top left corner
w1
the width of the top edge
x2
the x-coordinate of the bottom left corner
y2
the y-coordinate of the bottom left corner
w2
the width of the bottom edge

Results

None

Description

The left and top edge are included in the filled area; the bottom and right edge are not included.

Topic

Terminal

Implements

std::fill_trapezoid