OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #include "platform/geometry/FloatSize.h" | 28 #include "platform/geometry/FloatSize.h" |
29 #include "platform/transforms/TransformationMatrix.h" | 29 #include "platform/transforms/TransformationMatrix.h" |
30 #include "wtf/PassRefPtr.h" | 30 #include "wtf/PassRefPtr.h" |
31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 // CSS Transforms (may become part of CSS3) | 35 // CSS Transforms (may become part of CSS3) |
36 | 36 |
37 class TransformOperation : public RefCounted<TransformOperation> { | 37 class PLATFORM_EXPORT TransformOperation : public RefCounted<TransformOperation>
{ |
38 public: | 38 public: |
39 enum OperationType { | 39 enum OperationType { |
40 ScaleX, ScaleY, Scale, | 40 ScaleX, ScaleY, Scale, |
41 TranslateX, TranslateY, Translate, | 41 TranslateX, TranslateY, Translate, |
42 Rotate, | 42 Rotate, |
43 RotateZ = Rotate, | 43 RotateZ = Rotate, |
44 SkewX, SkewY, Skew, | 44 SkewX, SkewY, Skew, |
45 Matrix, | 45 Matrix, |
46 ScaleZ, Scale3D, | 46 ScaleZ, Scale3D, |
47 TranslateZ, Translate3D, | 47 TranslateZ, Translate3D, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 || opType == Rotate3D | 79 || opType == Rotate3D |
80 || opType == Matrix3D | 80 || opType == Matrix3D |
81 || opType == Perspective | 81 || opType == Perspective |
82 || opType == Interpolated; | 82 || opType == Interpolated; |
83 } | 83 } |
84 }; | 84 }; |
85 | 85 |
86 } // namespace WebCore | 86 } // namespace WebCore |
87 | 87 |
88 #endif // TransformOperation_h | 88 #endif // TransformOperation_h |
OLD | NEW |