getfillsettings()
#include <graphics.h>
void far getfillsettings()
���������
��������
�������� ���������� � ������� ������� � ����� ����������
�. ��������� ��������� fillsettingstype, �� ������� ��������� fillinfo ����������� � ������� ������� � ����� ����������. fillsettingstype ������������ � graphics.h ��������� �������: struct fillsettingstype{ int pattern; //������� ������ ���������� int color; //������� ���� ���������� }; ������� bar, bar3d, fillpoly, floodfill � pieslice ������� ��������� ������� ������� �������� ���������� � ������� ����� ����������. ���������� 11 ����� �������� ���������� (��������, ��������������, �������� � �. �.) ������������� ����� ��� ���������� �������� �������������� ������������� ����� fill_patterns � graphics.h. (������ �������, ����������� ����). ����� �����, �� ������ ���������� ���� ����������� �������. ���� pattern ����� 12 (USER_FILL), �� � ������ ����� ������������ ������, ������������ �������������; � ��������� ������ pattern ������ ����� ����������� �������. ������������� ��� fill_patterns, �������� � graphics.h ������ ��� ����������� ������� ���������� � ��������� ��� �������, ������������� �������������.
���, ����� EMPTY_FILL ��������� ������� ������ ����������; EMPTY_FILL ���������� ������� ���� ����.
�������� �����
floodfill() — ��������� ������������ �������
setfillstyle() — ������������� ���� � ������ ���������� setfillpattern() — ����� ������ ���������� ������������ ������������� getfillpattern() — ���������� ������������ ������������� ������ ���������� |
Нет комментариев. Оставить комментарий: |