/reactos/dll/win32/gdiplus/ |
H A D | pen.c | 264 if(!pen || !dash || count > pen->numdashes) in GdipGetPenDashArray() 424 if(!pen) in GdipResetPenTransform() 465 if(!pen) in GdipTranslatePenTransform() 475 if(!pen) in GdipScalePenTransform() 485 if(!pen) in GdipRotatePenTransform() 496 if(!pen) in GdipMultiplyPenTransform() 517 if(!pen) in GdipSetPenColor() 629 if(!pen) in GdipSetPenDashCap197819() 642 if(!pen) in GdipSetPenDashOffset() 654 if(!pen) in GdipSetPenDashStyle() [all …]
|
H A D | graphicspath.c | 1541 if(pen){ in GdipGetPathWorldBounds() 1545 path_width = max(path_width, pen->width * pen->miterlimit / 2.0); in GdipGetPathWorldBounds() 1669 if(!path || !pen) in GdipIsOutlineVisiblePathPoint() 1840 switch (pen->join) in widen_joint() 1856 if (dx*dx + dy*dy < pen->miterlimit*pen->miterlimit * distance*distance) in widen_joint() 2080 switch (pen->dash) in widen_dashed_figure() 2155 draw_start_cap ? pen->startcap : LineCapFlat, pen->customstart, in widen_dashed_figure() 2189 draw_start_cap ? pen->startcap : LineCapFlat, pen->customstart, in widen_dashed_figure() 2190 closed ? LineCapFlat : pen->endcap, pen->customend, last_point); in widen_dashed_figure() 2208 if (!path || !pen) in GdipWidenPath() [all …]
|
H A D | graphics.c | 271 …width *= units_to_pixels(pen->width, pen->unit == UnitWorld ? graphics->unit : pen->unit, graphics… in prepare_dc() 1665 HPEN pen = NULL; in draw_cap() local 1998 else if((pen->endcap == LineCapCustom) && pen->customend) in draw_poly() 2002 … draw_cap(graphics, get_gdi_brush_color(pen->brush), pen->endcap, pen->width, pen->customend, in draw_poly() 2013 else if((pen->endcap == LineCapCustom) && pen->customend) in draw_poly() 2016 pen->customend->inset * pen->width); in draw_poly() 2018 … draw_cap(graphics, get_gdi_brush_color(pen->brush), pen->endcap, pen->width, pen->customend, in draw_poly() 2040 … draw_cap(graphics, get_gdi_brush_color(pen->brush), pen->startcap, pen->width, pen->customstart, in draw_poly() 2056 … draw_cap(graphics, get_gdi_brush_color(pen->brush), pen->startcap, pen->width, pen->customstart, in draw_poly() 3580 if (!pen) in GdipDrawLine() [all …]
|
H A D | metafile.c | 388 EmfPlusPen pen; member 564 GdipDeletePen(object->u.pen); in metafile_free_object_table_entry() 2270 GpPen *pen; in METAFILE_PlaybackObject() local 2375 object = pen; in METAFILE_PlaybackObject() 2379 GdipDeletePen(pen); in METAFILE_PlaybackObject() 3274 if (pen >= EmfPlusObjectTableSize || real_metafile->objtable[pen].type != ObjectTypePen) in GdipPlayMetafileRecord() 4346 if (pen->miterlimit != 10.0) in METAFILE_AddPenObject() 4363 if (pen->numdashes) in METAFILE_AddPenObject() 4374 if (pen->customstart) in METAFILE_AddPenObject() 4378 if (pen->customend) in METAFILE_AddPenObject() [all …]
|
H A D | CMakeLists.txt | 22 pen.c
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | pen.c | 32 GpPen *pen = NULL; in test_startup() local 64 GdipDeletePen(pen); in test_startup() 70 GpPen *pen = NULL; in test_constructor_destructor() local 90 GpPen *pen = NULL; in test_constructor_destructor2() local 122 GpPen *pen; in test_brushfill() local 165 GpPen *pen; in test_dasharray() local 245 GpPen *pen; in test_customcap() local 294 GpPen *pen; in test_penfilltype() local 345 GpPen *pen; in test_compoundarray() local 411 GpPen *pen; in test_transform() local [all …]
|
H A D | graphicspath.c | 290 GpPen *pen; in test_worldbounds() local 301 GdipSetPenEndCap(pen, LineCapSquareAnchor); in test_worldbounds() 414 GdipDeletePen(pen); in test_worldbounds() 1083 GpPen *pen; in test_widen() local 1099 status = GdipWidenPath(path, pen, m, 0.0); in test_widen() 1105 status = GdipWidenPath(NULL, pen, m, 1.0); in test_widen() 1111 status = GdipWidenPath(path, pen, m, 1.0); in test_widen() 1170 GdipDeletePen(pen); in test_widen() 1213 GdipDeletePen(pen); in test_widen() 1227 GdipDeletePen(pen); in test_widen() [all …]
|
H A D | graphics.c | 535 GpPen *pen = NULL; in test_GdipDrawArc() local 579 GpPen *pen = NULL; in test_GdipDrawArcI() local 821 GpPen *pen = NULL; in test_GdipDrawBezierI() local 859 GpPen *pen = NULL; in test_GdipDrawCurve3() local 939 GpPen *pen = NULL; in test_GdipDrawCurve3I() local 1019 GpPen *pen = NULL; in test_GdipDrawCurve2() local 1086 GpPen *pen = NULL; in test_GdipDrawCurve2I() local 1153 GpPen *pen = NULL; in test_GdipDrawCurve() local 1214 GpPen *pen = NULL; in test_GdipDrawCurveI() local 1598 GpPen *pen; in test_Get_Release_DC() local [all …]
|
H A D | CMakeLists.txt | 14 pen.c
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | pen.c | 44 } pen[] = { in test_logpen() local 75 for (i = 0; i < sizeof(pen)/sizeof(pen[0]); i++) in test_logpen() 110 hpen = CreatePen(pen[i].style, pen[i].width, pen[i].color); in test_logpen() 182 hpen = ExtCreatePen(pen[i].style, pen[i].width, &lb, 2, user_style); in test_logpen() 189 hpen = ExtCreatePen(pen[i].style, pen[i].width, &lb, 0, NULL); in test_logpen() 467 HPEN pen; in test_ps_alternate() local 501 DeleteObject(pen); in test_ps_alternate() 513 HPEN pen; in test_ps_userstyle() local 575 HPEN pen = 0; in test_brush_pens() local 661 if (pen) DeleteObject( pen ); in test_brush_pens() [all …]
|
H A D | CMakeLists.txt | 18 pen.c)
|
/reactos/sdk/include/psdk/ |
H A D | gdiplusgraphics.h | 122 nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle)); in DrawArc() 129 nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle)); in DrawArc() 136 …nativeGraphics, pen ? getNat(pen) : NULL, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y)); in DrawBezier() 226 … nativeGraphics, pen ? getNat(pen) : NULL, points, count, offset, numberOfSegments, tension)); in DrawCurve() 233 … nativeGraphics, pen ? getNat(pen) : NULL, points, count, offset, numberOfSegments, tension)); in DrawCurve() 261 nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height)); in DrawEllipse() 274 nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height)); in DrawEllipse() 499 nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle)); in DrawPie() 506 nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle)); in DrawPie() 532 nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height)); in DrawRectangle() [all …]
|
H A D | gdipluspen.h | 370 Pen(GpPen *pen, Status status) : nativePen(pen), lastStatus(status) in Pen() argument 375 SetNativePen(GpPen *pen) in SetNativePen() argument 377 nativePen = pen; in SetNativePen() 388 getNat(const Pen *pen) in getNat() argument 390 return const_cast<Pen *>(pen)->nativePen; in getNat()
|
H A D | gdipluspath.h | 395 GetBounds(Rect *bounds, const Matrix *matrix, const Pen *pen) in GetBounds() argument 401 GetBounds(RectF *bounds, const Matrix *matrix, const Pen *pen) in GetBounds() argument 459 IsOutlineVisible(const Point &point, const Pen *pen, const Graphics *g) const in IsOutlineVisible() argument 461 return IsOutlineVisible(point.X, point.Y, pen, g); in IsOutlineVisible() 465 IsOutlineVisible(REAL x, REAL y, const Pen *pen, const Graphics *g) const in IsOutlineVisible() argument 468 GpPen *nativePen = pen ? getNat(pen) : NULL; in IsOutlineVisible() 475 IsOutlineVisible(INT x, INT y, const Pen *pen, const Graphics *g) const in IsOutlineVisible() argument 478 GpPen *nativePen = pen ? getNat(pen) : NULL; in IsOutlineVisible() 485 IsOutlineVisible(const PointF &point, const Pen *pen, const Graphics *g) const in IsOutlineVisible() argument 487 return IsOutlineVisible(point.X, point.Y, pen, g); in IsOutlineVisible() [all …]
|
H A D | gdiplusbase.h | 104 getNat(const Pen *pen);
|
/reactos/win32ss/gdi/gdi32/wine/mfdrv/ |
H A D | objects.c | 346 LOGPEN pen; in MFDRV_SelectPen() local 348 GetObjectW( hpen, sizeof(pen), &pen ); in MFDRV_SelectPen() 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()
|
/reactos/base/applications/mstsc/ |
H A D | uimain.c | 514 PEN * pen) in ui_line() argument 521 bs_line(opcode, startx, starty, endx, endy, pen->width, pen->style, in ui_line() 522 pen->colour); in ui_line() 523 if (pen->style == 0 && pen->width < 2 && opcode == 12) in ui_line() 525 mi_line(startx, starty, endx, endy, pen->colour); in ui_line() 679 ui_polyline(uint8 opcode, RD_POINT * points, int npoints, PEN * pen) in ui_polyline() argument 690 ui_line(opcode, x, y, x + dx, y + dy, pen); in ui_polyline()
|
H A D | orders.c | 136 rdp_parse_pen(STREAM s, PEN * pen, uint32 present) in rdp_parse_pen() argument 139 in_uint8(s, pen->style); in rdp_parse_pen() 142 in_uint8(s, pen->width); in rdp_parse_pen() 145 rdp_in_colour(s, &pen->colour); in rdp_parse_pen() 318 rdp_parse_pen(s, &os->pen, present >> 7); in process_line() 321 os->opcode, os->startx, os->starty, os->endx, os->endy, os->pen.colour)); in process_line() 329 ui_line(os->opcode - 1, os->startx, os->starty, os->endx, os->endy, &os->pen); in process_line() 689 PEN pen; in process_polyline() local 734 pen.style = pen.width = 0; in process_polyline() 735 pen.colour = os->fgcolour; in process_polyline() [all …]
|
/reactos/dll/win32/riched20/ |
H A D | paint.c | 248 HPEN pen; in draw_underline() local 251 if (pen) in draw_underline() 257 DeleteObject( pen ); in draw_underline() 633 oldpen = SelectObject(c->hDC, pen); in ME_DrawParaDecoration() 695 DeleteObject(pen); in ME_DrawParaDecoration() 709 HPEN pen, oldPen; in ME_DrawTableBorders() local 756 DeleteObject(pen); in ME_DrawTableBorders() 832 DeleteObject(pen); in ME_DrawTableBorders() 839 HPEN pen = NULL, oldpen = NULL; in ME_DrawTableBorders() local 845 oldpen = SelectObject(c->hDC, pen); in ME_DrawTableBorders() [all …]
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/ |
H A D | xxxwin.c | 122 PEN * pen) in ui_line() argument 235 void ui_polyline(uint8 opcode, POINT * points, int npoints, PEN * pen) in ui_polyline() argument 246 ui_line(opcode, x, y, x + dx, y + dy, pen); in ui_polyline()
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/ |
H A D | orders.c | 133 rdp_parse_pen(STREAM s, PEN * pen, uint32 present) in rdp_parse_pen() argument 136 in_uint8(s, pen->style); in rdp_parse_pen() 139 in_uint8(s, pen->width); in rdp_parse_pen() 142 rdp_in_colour(s, &pen->colour); in rdp_parse_pen() 297 rdp_parse_pen(s, &os->pen, present >> 7); in process_line() 300 os->opcode, os->startx, os->starty, os->endx, os->endy, os->pen.colour)); in process_line() 688 PEN pen; in process_polyline() local 737 pen.style = pen.width = 0; in process_polyline() 738 pen.colour = os->fgcolour; in process_polyline() 758 ui_polyline(This, os->opcode - 1, points, os->lines + 1, &pen); in process_polyline() [all …]
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | metadc.c | 52 HPEN pen; member 1135 return metadc_add_handle( metadc, pen ); in metadc_create_pen() 1155 LOGPEN pen; in METADC_SelectPen() local 1157 GetObjectW( hpen, sizeof(pen), &pen ); in METADC_SelectPen() 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() 1184 ret = metadc->pen; in METADC_SelectPen() 1185 metadc->pen = hpen; in METADC_SelectPen() [all …]
|
H A D | metafile.c | 783 LOGPEN pen; in PlayMetaFileRecord() local 784 pen.lopnStyle = mr->rdParm[0]; in PlayMetaFileRecord() 785 pen.lopnWidth.x = (SHORT)mr->rdParm[1]; in PlayMetaFileRecord() 786 pen.lopnWidth.y = (SHORT)mr->rdParm[2]; in PlayMetaFileRecord() 787 pen.lopnColor = MAKELONG( mr->rdParm[3], mr->rdParm[4] ); in PlayMetaFileRecord() 788 MF_AddHandle(ht, handles, CreatePenIndirect( &pen )); in PlayMetaFileRecord()
|
/reactos/base/applications/mspaint/help/ |
H A D | Paint_all_files.hhp | 22 pen.png
|
/reactos/win32ss/gdi/gdi32/ |
H A D | CMakeLists.txt | 41 objects/pen.c
|