OP7100
Graphics Programming 77
Plot a Line
•
void op71PlotLine(int x1, int y1, int x2, int y2);
(
x1
,
y1
) and (
x2
,
y2
) are the endpoints of the line.
Plot a Circle
•
void op71PlotCircle(int xc, int yc, int rad);
(
xc
,
yc
) is the center of the circle,
rad
is the radius.
Plot a Polygon
•
void op71PlotPolygon(int n, int x1, int y1,...);
n
is the number of vertices, (
x1
,
y1
) is the first vertex, followed by the
other vertices in the x-first order.
Fill a Circle
•
void op71FillCircle(int xc, int yc, int rad);
Similar to
op71PlotCircle
, but paints the circle solid.
Fill a Polygon
•
void op71FillPolygon(int n, int x1, int y1,...);
Similar to
op71PlotPolygon
, but paints the polygon solid. Note that
this function works for polygons with concave angles.
Draw a Bitmap
•
void op71XPutBitmap( int left, int top,
int width, int height, unsigned long bitmap );
Draws bitmap in the specified space. The data for the bitmap are stored
in
xmem
. Automatically calls
op71XPutFastmap
if bitmap is byte-
aligned (left-edge and width each evenly divisible by 8).
PARAMETERS:
left
is the left edge of the bitmap.
top
is the top edge of the bitmap.
width
is the width of the bitmap.
height
is the height of the bitmap.
bitmap
is the address of the bitmap in
xmem
.
Содержание OP7100
Страница 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Страница 10: ...OP7100 x About This Manual ...
Страница 16: ...OP7100 16 Overview ...
Страница 51: ...OP7100 Software 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 74: ...OP7100 74 Software ...
Страница 82: ...OP7100 82 Graphics Programming ...
Страница 88: ...OP7100 88 Installation ...
Страница 98: ...OP7100 98 Specifications ...
Страница 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Страница 112: ...112 Serial Interface Board 2 OP7100 ...
Страница 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Страница 116: ...OP7100 116 Backup Battery ...
Страница 124: ...OP7100 124 Index ...
Страница 126: ...XX0000 Schematics ...