Home
last modified time | relevance | path

Searched refs:logpen (Results 1 – 7 of 7) sorted by relevance

/reactos/modules/rostests/apitests/gdi32/
H A DCreatePen.c13 LOGPEN logpen; in Test_CreatePen() local
23 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
25 ok(logpen.lopnWidth.x == 5, "Expected 5, got %lu\n", logpen.lopnWidth.x); in Test_CreatePen()
34 logpen.lopnStyle = 22; in Test_CreatePen()
37 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
45 logpen.lopnStyle = 22; in Test_CreatePen()
49 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
57 logpen.lopnStyle = 22; in Test_CreatePen()
61 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
69 logpen.lopnStyle = 22; in Test_CreatePen()
[all …]
H A DGetObject.c442 LOGPEN logpen; in Test_Pen() local
445 FillMemory(&logpen, sizeof(LOGPEN), 0x77); in Test_Pen()
456 ok(GetObject(hPen, sizeof(LOGPEN), &logpen) == sizeof(LOGPEN), "\n"); in Test_Pen()
457 ok(GetObject(hPen, sizeof(LOGPEN)-1, &logpen) == 0, "\n"); in Test_Pen()
458 ok(GetObject(hPen, sizeof(LOGPEN)+2, &logpen) == sizeof(LOGPEN), "\n"); in Test_Pen()
459 ok(GetObject(hPen, 0, &logpen) == 0, "\n"); in Test_Pen()
460 ok(GetObject(hPen, -5, &logpen) == sizeof(LOGPEN), "\n"); in Test_Pen()
464 ok(logpen.lopnStyle == PS_SOLID, "\n"); in Test_Pen()
466 ok(GetObjectW((HANDLE)GDI_OBJECT_TYPE_PEN, sizeof(LOGPEN), &logpen) == 0, "\n"); in Test_Pen()
/reactos/win32ss/gdi/gdi32/wine/mfdrv/
H A Dobjects.c316 char buffer[sizeof(METARECORD) - 2 + sizeof(*logpen)]; in MFDRV_CreatePenIndirect()
321 memcpy(&(mr->rdParm), logpen, sizeof(*logpen)); in MFDRV_CreatePenIndirect()
333 LOGPEN16 logpen; in MFDRV_SelectPen() local
349 logpen.lopnStyle = pen.lopnStyle; in MFDRV_SelectPen()
350 logpen.lopnWidth.x = pen.lopnWidth.x; in MFDRV_SelectPen()
351 logpen.lopnWidth.y = pen.lopnWidth.y; in MFDRV_SelectPen()
352 logpen.lopnColor = pen.lopnColor; in MFDRV_SelectPen()
360 logpen.lopnStyle = elp->elpPenStyle; in MFDRV_SelectPen()
361 logpen.lopnWidth.x = elp->elpWidth; in MFDRV_SelectPen()
362 logpen.lopnWidth.y = 0; in MFDRV_SelectPen()
[all …]
/reactos/win32ss/gdi/gdi32/wine/
H A Dmetadc.c1133 memcpy( mr->rdParm, logpen, sizeof(*logpen) ); in metadc_create_pen()
1141 LOGPEN16 logpen; in METADC_SelectPen() local
1158 logpen.lopnStyle = pen.lopnStyle; in METADC_SelectPen()
1159 logpen.lopnWidth.x = pen.lopnWidth.x; in METADC_SelectPen()
1160 logpen.lopnWidth.y = pen.lopnWidth.y; in METADC_SelectPen()
1161 logpen.lopnColor = pen.lopnColor; in METADC_SelectPen()
1169 logpen.lopnStyle = elp->elpPenStyle; in METADC_SelectPen()
1170 logpen.lopnWidth.x = elp->elpWidth; in METADC_SelectPen()
1171 logpen.lopnWidth.y = 0; in METADC_SelectPen()
1172 logpen.lopnColor = elp->elpColor; in METADC_SelectPen()
[all …]
H A Demfdc.c1814 LOGPEN logpen = { PS_SOLID, { 0, 0 }, color }; in EMFDC_SetDCPenColor() local
1819 if (!(emf->dc_pen = CreatePenIndirect( &logpen ))) return FALSE; in EMFDC_SetDCPenColor()
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/
H A Dobjects.c501 LOGPEN logpen = { PS_SOLID, { 0, 0 }, color }; in EMFDRV_SetDCPenColor() local
508 if (!(physDev->dc_pen = CreatePenIndirect( &logpen ))) return CLR_INVALID; in EMFDRV_SetDCPenColor()
/reactos/win32ss/gdi/ntgdi/
H A Dgdiobj.c1342 LOGPEN logpen; in NtGdiExtGetObjectW() member