summaryrefslogtreecommitdiffstats
path: root/skia/ext/canvas_paint.h
blob: 051463fb18a11eb5f66e170f90f28308859290c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2011 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 SKIA_EXT_CANVAS_PAINT_H_
#define SKIA_EXT_CANVAS_PAINT_H_
#pragma once

// This file provides an easy way to include the appropriate CanvasPaint
// header file on your platform.

#if defined(WIN32)
#include "skia/ext/canvas_paint_win.h"
#elif defined(__APPLE__)
#include "skia/ext/canvas_paint_mac.h"
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun)
#if defined(USE_WAYLAND)
#include "skia/ext/canvas_paint_wayland.h"
#elif defined(TOOLKIT_USES_GTK)
#include "skia/ext/canvas_paint_gtk.h"
#else
#include "skia/ext/canvas_paint_x.h"
#endif
#endif

#endif  // SKIA_EXT_CANVAS_PAINT_H_