Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-3768

Brush null using

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=3484)
      Screenshot test

      PAINTSTRUCT ps;
      HDC hdc, hdcMem;
      HBRUSH brush;

      hdc = BeginPaint(hWnd, &ps);
      hdcMem = CreateCompatibleDC(hdc);

      /* fill destination with brush */
      brush = CreateHatchBrush(HS_DIAGCROSS, RGB(255,0,0));
      SelectObject(hdc, brush);
      // PatBlt(hdc, 200, 0, 100, 100, PATCOPY);
      DeleteObject(brush);

      Ellipse(hdc, 0, 10, 100, 100);
      DeleteDC(hdcMem);
      EndPaint(hWnd, &ps);

      Attachments

        1. 4081.png
          4081.png
          6 kB
        2. Brush.jpg
          Brush.jpg
          177 kB

        Activity

          People

            bug zilla Bug Zilla
            bolt bolt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: