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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « ui/gfx/display.h ('k') | ui/gfx/geometry/dip_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_GFX_GDI_UTIL_H_ 5 #ifndef UI_GFX_GDI_UTIL_H_
6 #define UI_GFX_GDI_UTIL_H_ 6 #define UI_GFX_GDI_UTIL_H_
7 7
8 #include <windows.h>
8 #include <vector> 9 #include <vector>
9 #include <windows.h>
10 10
11 #include "ui/gfx/geometry/rect.h"
11 #include "ui/gfx/gfx_export.h" 12 #include "ui/gfx/gfx_export.h"
12 #include "ui/gfx/rect.h"
13 #include "ui/gfx/path.h" 13 #include "ui/gfx/path.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 16
17 // Creates a BITMAPINFOHEADER structure given the bitmap's size. 17 // Creates a BITMAPINFOHEADER structure given the bitmap's size.
18 GFX_EXPORT void CreateBitmapHeader(int width, int height, 18 GFX_EXPORT void CreateBitmapHeader(int width, int height,
19 BITMAPINFOHEADER* hdr); 19 BITMAPINFOHEADER* hdr);
20 20
21 // Creates a BITMAPV4HEADER structure given the bitmap's size. You probably 21 // Creates a BITMAPV4HEADER structure given the bitmap's size. You probably
22 // only need to use BMP V4 if you need transparency (alpha channel). This 22 // only need to use BMP V4 if you need transparency (alpha channel). This
(...skipping 18 matching lines...) Expand all
41 GFX_EXPORT bool ScaleDC(HDC dc, float scale_factor); 41 GFX_EXPORT bool ScaleDC(HDC dc, float scale_factor);
42 42
43 GFX_EXPORT void StretchDIBits(HDC hdc, 43 GFX_EXPORT void StretchDIBits(HDC hdc,
44 int dest_x, int dest_y, int dest_w, int dest_h, 44 int dest_x, int dest_y, int dest_w, int dest_h,
45 int src_x, int src_y, int src_w, int src_h, 45 int src_x, int src_y, int src_w, int src_h,
46 void* pixels, const BITMAPINFO* bitmap_info); 46 void* pixels, const BITMAPINFO* bitmap_info);
47 47
48 } // namespace gfx 48 } // namespace gfx
49 49
50 #endif // UI_GFX_GDI_UTIL_H_ 50 #endif // UI_GFX_GDI_UTIL_H_
OLDNEW
« no previous file with comments | « ui/gfx/display.h ('k') | ui/gfx/geometry/dip_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698