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

UNIMPLEMENTED: gdi32: CreateEnhMetaFileA is missing some features

    XMLWordPrintable

Details

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

    Description

      Current features missing in CreateEnhMetaFileA after the rewrite:
      ( http://doxygen.reactos.org/dd/d1b/enhmfile_8c_a48a5c4d4f2a1a0d6da47968a39169620.html#a48a5c4d4f2a1a0d6da47968a39169620 )
      CreateEnhMetaFileA(HDC hdcRef,LPCSTR lpFileName, CONST RECT *lpRect,LPCSTR lpDescription)

      1) hdcRef can be NULL, in this case it uses the current display device for reference.
      The old code was caring about this, current is not.

      2)*lpRect can be NULL, in this case the graphics device interface (GDI) computes the dimensions of the smallest rectangle that surrounds the picture drawn by the application.
      The old code was caring about this, current is not.

      3)*lpRect is never used in the code,never checked.

      4)*lpRect should be checked: the left and top members of the RECT structure pointed to by the lpRect parameter must be less than the right and bottom members, respectively.

      Attachments

        Activity

          People

            ThePhysicist Timo Kreuzer
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: