version 1.1.1.2, 2000/01/22 14:16:33 |
version 1.1.1.3, 2003/09/15 07:09:40 |
Line 366 MakePens(LPGW lpgw, HDC hdc) |
|
Line 366 MakePens(LPGW lpgw, HDC hdc) |
|
for (i=0; i<WGNUMPENS; i++) |
for (i=0; i<WGNUMPENS; i++) |
{ |
{ |
lpgw->hpen[i] = CreatePenIndirect((LOGPEN FAR *)&lpgw->monopen[i+2]); |
lpgw->hpen[i] = CreatePenIndirect((LOGPEN FAR *)&lpgw->monopen[i+2]); |
|
lpgw->hsolidpen[i] = CreatePenIndirect((LOGPEN FAR *)&lpgw->monopen[2]); |
} |
} |
/* find number of solid, unit width line styles */ |
/* find number of solid, unit width line styles */ |
for (i=0; i<WGNUMPENS && lpgw->monopen[i+2].lopnStyle==PS_SOLID |
for (i=0; i<WGNUMPENS && lpgw->monopen[i+2].lopnStyle==PS_SOLID |