Line data Source code
1 : /*
2 : * Copyright 2016 Google Inc.
3 : *
4 : * Use of this source code is governed by a BSD-style license that can be
5 : * found in the LICENSE file.
6 : */
7 :
8 : #include "SkColorSpace_A2B.h"
9 :
10 0 : SkColorSpace_A2B::SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements,
11 0 : PCS pcs, sk_sp<SkData> profileData)
12 0 : : INHERITED(std::move(profileData))
13 : , fICCType(iccType)
14 0 : , fElements(std::move(elements))
15 0 : , fPCS(pcs)
16 : {
17 0 : SkASSERT(kRGB_ICCTypeFlag == iccType || kCMYK_ICCTypeFlag == iccType);
18 0 : }
|