[Webkit-unassigned] [Bug 26425] New: Small Refactoring to Consolidate Common GDI Calls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 15 17:26:11 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26425

           Summary: Small Refactoring to Consolidate Common GDI Calls
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at webkit.org


There are a number of places where BITMAPINFO structures and XFORM structures
are created.  These are almost always the same, and seem like a good
opportunity to abstract these structure filling routines to be shared between
the various Windows ports.

This patch adds a new GDIUtilities.h/GDIUtilities.cpp file that contains
implementations of routines to:
1.  Construct the typical BITMAPINFO structure we use in various operations.
2.  Clear the data in a BITMAP structure.
3.  Construct a Windows XFORM object from the input matrix components.

After this patch, several methods in GraphicsContextCGWin and
GraphicsContextCairoWin can be pushed up to GraphicsContextWin.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list