ReactOS 0.4.16-dev-2-g02a6913
|
#include <memory.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <conio.h>
#include <assert.h>
Go to the source code of this file.
Classes | |
struct | W |
struct | DC |
struct | tagPOINT |
struct | RECTL |
struct | _tagFILL_EDGE |
struct | _FILL_EDGE_LIST |
Macros | |
#define | FASTCALL |
#define | INT int |
#define | CLIPOBJ int |
#define | SURFOBJ int |
#define | PBRUSHOBJ int |
#define | MIX char |
#define | BOOL bool |
#define | TRUE true |
#define | FALSE false |
#define | CONST const |
#define | MmCopyFromCaller memmove |
#define | ALTERNATE 0 |
#define | WINDING 1 |
#define | ASSERT assert |
#define | EngFreeMem free |
#define | FL_ZERO_MEMORY 1 |
#define | DPRINT1 printf("%i:",__LINE__);printf |
#define | SCREENX 25 |
#define | SCREENY 15 |
#define | EDGE_CHAR '*' |
#define | FILL_CHAR 'o' |
#define | FILL_EDGE_ALLOC_TAG 0x45465044 |
#define | DEBUG_PRINT_ACTIVE_EDGELIST(x) |
Typedefs | |
typedef struct W | W |
typedef struct DC | DC |
typedef struct DC * | PDC |
typedef struct tagPOINT | POINT |
typedef struct tagPOINT * | PPOINT |
typedef struct tagPOINT * | LPPOINT |
typedef struct RECTL | RECTL |
typedef struct RECTL * | PRECTL |
typedef struct _tagFILL_EDGE | FILL_EDGE |
typedef struct _FILL_EDGE_LIST | FILL_EDGE_LIST |
Variables | |
void | DPRINT (...) |
char | screen [SCREENY][SCREENX] |
#define ALTERNATE 0 |
Definition at line 30 of file polytest.cpp.
Definition at line 33 of file polytest.cpp.
Definition at line 25 of file polytest.cpp.
Definition at line 21 of file polytest.cpp.
Definition at line 28 of file polytest.cpp.
Definition at line 221 of file polytest.cpp.
Definition at line 60 of file polytest.cpp.
#define EDGE_CHAR '*' |
Definition at line 67 of file polytest.cpp.
Definition at line 56 of file polytest.cpp.
Definition at line 27 of file polytest.cpp.
#define FASTCALL |
Definition at line 19 of file polytest.cpp.
#define FILL_CHAR 'o' |
Definition at line 68 of file polytest.cpp.
#define FILL_EDGE_ALLOC_TAG 0x45465044 |
Definition at line 167 of file polytest.cpp.
#define FL_ZERO_MEMORY 1 |
Definition at line 58 of file polytest.cpp.
Definition at line 20 of file polytest.cpp.
Referenced by CTipbarAccessible::accNavigate(), AddDlg_OnCommand(), AddFontToList(), CStaticIconList::AddIcon(), AdvancedDlgProc(), AdvAppearanceDlgProc(), ApplyRegistryValues(), blend_colors(), brush_fill_pixels(), ButtonProc(), ChangeSelectedMode(), CMenuToolbarBase::ChangeTrackedItem(), CheckListWndProc(), CheckTerminalDeviceType(), CHSourceDlgProc(), ClearCommandLine(), cmd_start(), COMBO_WindowProc(), comp_PageByHash(), ConMsgPrintf2V(), ConMsgPrintfV(), ConMsgPuts(), ConResMsgPrintfExV(), ConWrite(), CPlApplet(), CreateKeyboardLayoutList(), CRYPT_AsnEncodeInt(), DecodeInt(), DIALOG_GoTo(), DialogProc(), DibLoadImage(), DisplayDeviceProperties(), DoSendData(), DrawHands(), EDIT_PaintText(), EDIT_WindowProc(), EditWndProc_common(), CCharMapWindow::EnumDisplayFont(), EnumFontNames(), EventDetailsCtrl(), Execute(), ExecuteIf(), ExecutePipeline(), ExtTextOutW(), FaceNameList_Initialize(), FaceNameList_SelectFont(), FillMonthsComboBox(), FindActionIndex(), FontSizeList_GetSelectedFontSize(), FontSizeList_SelectFontSize(), FontTypeChange(), gdip_get_font_metrics(), GdipGetStringFormatHotkeyPrefix(), CTipbarAccessible::get_accChildCount(), CTipbarAccessible::get_accSelection(), get_bitmap_sample_size(), get_type_size(), GetCBSelectedMonth(), GetComboBoxLBTextAlloc(), GetGeneralGroupData(), CStaticIconList::GetImageCount(), GetPageFileSizes(), GetSelectedUsageAction(), GetTextFromListView(), GetUserMembershipData(), HEADER_MouseMove(), HEADER_SetHotDivider(), HEXEDIT_SelectAll(), HEXEDIT_Update(), ImeWnd_OnImeSetContext(), InitDefaultLangComboBox(), InitDevUsageActions(), InitGroupMembersList(), InitListAllModesDialog(), InitMainWnd(), InitMetrics(), InitMonitorDialog(), InitProbeListPage(), InitToolbox(), InitUserGroupsList(), InitUtilsList(), IntGdiAngleArc(), IntGdiExtCreatePen(), IntSetAconData(), CMenuToolbarBase::IsTrackedItem(), ITypeLib2_Constructor_MSFT(), journal_convert_superblock_v1(), KeyboardSpeedProc(), LBItemFromPt(), LISTBOX_WindowProc(), ListBoxWndProc_common(), LISTVIEW_Arrange(), SettingsFieldInt::Load(), LoadConfig(), LoadPermissionsList(), LocationsEnumProc(), LV_AddItems(), MainWnd_OnContextMenu(), CDefView::MapListColumnToFolderColumn(), MiniportSend(), MonitorSelWndProc(), MonSelHitTest(), MonSelInitDragging(), MonthCalWndProc(), MSFT_DoFuncs(), MSFT_DoVars(), MSFT_GetTdesc(), MSI_RecordDataSize(), NdrSimpleTypeUnmarshall(), NewDocSelDlgProc(), CACLCustomMRU::Next(), NtGdiExtTextOutW(), NtGdiGetCharABCWidthsW(), NtGdiGetCharWidthW(), NtGdiPolyPolyDraw(), NtUserCallOneParam(), NtUserSetCursorIconData(), NtUserSetWindowRgn(), OnCommandSettingsPage(), OnHScroll(), OnMouseScroll(), OnSelChange(), OnSet(), UIComposition::OnTimer(), OnTimer(), CToolSettingsWindow::OnVScroll(), OptionsProc(), CDrvDefExt::PaintStaticControls(), ParseDaysOfWeek(), PathQualifyExW(), PickIconProc(), Pos_SaveData(), ProbeListPageDlgProc(), ProgressWindowProc(), CAutoComplete::RepositionDropDown(), resample_bitmap_pixel(), resample_bitmap_pixel_premult(), RotatePoint(), RtlIsTextUnicode(), SAFEARRAY_GetVTSize(), SaveScheme(), SaveSetting(), SaveSettings(), SelectionChanged(), CHttpClient::SendFile(), SetEnvironmentDialogListViewColumns(), SetGroupsListColumns(), StringFormat::SetHotkeyPrefix(), SetListViewColumns(), SettingsPageProc(), SetUsersListColumns(), ShowFailureActions(), simple_round(), SkewDIB(), SpiGetSetProbeBuffer(), START_TEST(), StatusWindowProc(), test__lwrite(), test_effect_parameter_value_GetInt(), test_nextmarker(), test_nextpathtype(), test_ordinal_imports(), CPaintToolBar::ToolBarWndProc(), TOOLTIPS_TrackPosition(), TuiPrintf(), CTaskSwitchWnd::UpdateButtonsSize(), UpdateDisplay(), UpdateMonitorSelection(), UpdateRefreshFrequencyList(), UpdateRefreshRateSelection(), UpDownWindowProc(), UserSetClassLongPtr(), weld_dec3n(), WMSFT_compile_typeinfo_aux(), WSPGetSockOpt(), wvnsprintfA(), and wvnsprintfW().
Definition at line 24 of file polytest.cpp.
Definition at line 29 of file polytest.cpp.
Definition at line 23 of file polytest.cpp.
#define SCREENX 25 |
Definition at line 63 of file polytest.cpp.
#define SCREENY 15 |
Definition at line 64 of file polytest.cpp.
Definition at line 22 of file polytest.cpp.
Definition at line 26 of file polytest.cpp.
#define WINDING 1 |
Definition at line 31 of file polytest.cpp.
typedef struct _tagFILL_EDGE FILL_EDGE |
typedef struct _FILL_EDGE_LIST FILL_EDGE_LIST |
Definition at line 70 of file polytest.cpp.
Referenced by bInitDefaultPalette(), bInitSURF(), BmfdGetFontInstance(), BmfdQueryFont(), BmfdQueryFontTree(), BRUSHOBJ_pvAllocRbrush(), DdAllocateObject(), DdGetFreeHandle(), DdHmgCreate(), DrvEnablePDEV(), DrvEnableSurface(), DrvSetPalette(), DrvSetPointerShape(), EngCreateClip(), EngCreateSection(), EngCreateSectionHack(), EngCreateWnd(), EngLoadModuleEx(), EXLATEOBJ_vInitialize(), FtfdLoadFontFile(), FtfdQueryFont(), FtfdQueryFontTree(), GdiPoolAllocateSection(), GdiPoolCreate(), GetAvailableModes(), getAvailableModes(), HackFixup(), InitPointer(), intDdCreateSurfaceOrBuffer(), intDdEnableDriver(), IntEngUpdateClipRegion(), IntGdiLoadFontsFromMemory(), IntGdiPolyline(), IntInitDefaultPalette(), IntSetPalette(), malloc(), PanEnablePDEV(), ParseFonFile(), Polygon(), POLYGONFILL_MakeEdge(), POLYGONFILL_MakeEdgeList(), realloc(), RunTest(), VGADDI_AllocSavedScreenBits(), and VGADDI_InitializeOffScreenMem().
Definition at line 325 of file polytest.cpp.
Referenced by POLYGONFILL_ActiveListInsert().
BOOL FillPolygon | ( | PDC | dc, |
SURFOBJ * | SurfObj, | ||
PBRUSHOBJ | BrushObj, | ||
MIX | RopMode, | ||
CONST PPOINT | Points, | ||
int | Count, | ||
RECTL | BoundRect | ||
) |
Definition at line 673 of file polytest.cpp.
Referenced by Polygon().
void IntEngLineTo | ( | SURFOBJ * | , |
CLIPOBJ | , | ||
PBRUSHOBJ | , | ||
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
RECTL * | , | ||
MIX | mix | ||
) |
Definition at line 107 of file polytest.cpp.
Referenced by IntGdiLineTo(), IntGdiPolygon(), IntRectangle(), Polygon(), POLYGONFILL_FillScanLineAlternate(), and POLYGONFILL_FillScanLineWinding().
Definition at line 816 of file polytest.cpp.
Definition at line 85 of file polytest.cpp.
Definition at line 730 of file polytest.cpp.
Referenced by Brush(), BuildMaskFromPoints(), CC_PaintTriangle(), RdpClientUI::Display_Polygon(), draw_cap(), draw_diag_edge(), DrawHands(), DrawPrimitive(), InitColorButtons(), IntDrawDiagEdge(), main(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), Poly(), PolygonTest(), test_all_functions(), and TRACKBAR_FillThumb().
|
static |
Definition at line 340 of file polytest.cpp.
Referenced by POLYGONFILL_BuildActiveList().
|
static |
Definition at line 503 of file polytest.cpp.
Referenced by FillPolygon().
|
static |
Definition at line 230 of file polytest.cpp.
Referenced by FillPolygon(), and POLYGONFILL_MakeEdgeList().
|
static |
Definition at line 527 of file polytest.cpp.
Referenced by FillPolygon().
|
static |
Definition at line 574 of file polytest.cpp.
Referenced by FillPolygon().
Definition at line 254 of file polytest.cpp.
Referenced by POLYGONFILL_MakeEdgeList().
|
static |
Definition at line 383 of file polytest.cpp.
Referenced by FillPolygon().
Definition at line 437 of file polytest.cpp.
Referenced by POLYGONFILL_BuildActiveList().
Definition at line 96 of file polytest.cpp.
Referenced by IntEngLineTo().
|
inline |
Definition at line 61 of file polytest.cpp.
Referenced by FillPolygon(), POLYGONFILL_FillScanLineAlternate(), POLYGONFILL_FillScanLineWinding(), POLYGONFILL_MakeEdge(), and POLYGONFILL_UpdateScanline().
Definition at line 65 of file polytest.cpp.
Referenced by HTMLScreen_Create(), main(), putpixel(), test_GetSystemMetrics(), and test_screen().