blob: df685810744aa8a7bcbe1a8d0751753fd1636f68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef APP_GFX_SKIA_UTILS_GTK_H_
#define APP_GFX_SKIA_UTILS_GTK_H_
#include "third_party/skia/include/core/SkColor.h"
typedef struct _GdkColor GdkColor;
namespace gfx {
// Converts GdkColors to the ARGB layout Skia expects.
SkColor GdkColorToSkColor(GdkColor color);
// Converts ARGB to GdkColor.
GdkColor SkColorToGdkColor(SkColor color);
} // namespace gfx
#endif // APP_GFX_SKIA_UTILS_GTK_H_
|