summaryrefslogtreecommitdiffstats
path: root/skia/ext/vector_platform_device.h
blob: 1b699d4427b0ec4d8a90b2a01673e908f4339b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2009 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_VECTOR_PLATFORM_DEVICE_H_
#define SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_
#pragma once

// This file provides an easy way to include the appropriate
// VectorPlatformDevice header file for your platform.
#if defined(WIN32)
#include "skia/ext/vector_platform_device_win.h"
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#include "skia/ext/vector_platform_device_linux.h"
#elif defined(__APPLE__)
#include "skia/ext/bitmap_platform_device_mac.h"
namespace skia {
typedef BitmapPlatformDeviceFactory VectorPlatformDeviceFactory;
}  // namespace skia
#endif

#endif