Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: ui/gfx/gdi_util.h

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/font_unittest.cc ('k') | ui/gfx/gdi_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APP_GFX_GDI_UTIL_H_ 5 #ifndef UI_GFX_GDI_UTIL_H_
6 #define APP_GFX_GDI_UTIL_H_ 6 #define UI_GFX_GDI_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include <windows.h> 10 #include <windows.h>
11 11
12 #include "gfx/rect.h" 12 #include "gfx/rect.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 // Creates a BITMAPINFOHEADER structure given the bitmap's size. 16 // Creates a BITMAPINFOHEADER structure given the bitmap's size.
(...skipping 11 matching lines...) Expand all
28 28
29 // Creates a monochrome bitmap header. 29 // Creates a monochrome bitmap header.
30 void CreateMonochromeBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr); 30 void CreateMonochromeBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr);
31 31
32 // Modify the given hrgn by subtracting the given rectangles. 32 // Modify the given hrgn by subtracting the given rectangles.
33 void SubtractRectanglesFromRegion(HRGN hrgn, 33 void SubtractRectanglesFromRegion(HRGN hrgn,
34 const std::vector<gfx::Rect>& cutouts); 34 const std::vector<gfx::Rect>& cutouts);
35 35
36 } // namespace gfx 36 } // namespace gfx
37 37
38 #endif // APP_GFX_GDI_UTIL_H_ 38 #endif // UI_GFX_GDI_UTIL_H_
OLDNEW
« no previous file with comments | « ui/gfx/font_unittest.cc ('k') | ui/gfx/gdi_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698