imagingandcamerafws/imagingfws/ImageDisplay/plugins/IclWrapper/ImagePostprocess.inl
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 inline |
|
17 void CAsyncTransformer::GetBitmap(CFbsBitmap*& aImage) const |
|
18 { |
|
19 aImage = iState==EDone? iCurrentSource: NULL; |
|
20 } |
|
21 |
|
22 inline |
|
23 CTransformerSharedData& CAsyncTransformer::Singleton() |
|
24 { |
|
25 return *iSingleton; |
|
26 } |
|
27 |
|
28 inline |
|
29 void CTransformerSharedData::SetTransformOptions(TUint aOptions) |
|
30 { |
|
31 iTransformOptions = aOptions; |
|
32 } |
|
33 |
|
34 inline |
|
35 void CTransformerSharedData::SetClipRect(const TRect& aClipRect) |
|
36 { |
|
37 iClippingSet= ETrue; |
|
38 iClipRect = aClipRect; |
|
39 } |
|
40 |
|
41 inline |
|
42 void CTransformerSharedData::SetTrueSrcSize(const TSize& aSize) |
|
43 { |
|
44 iTrueSrcSize = aSize; |
|
45 } |
|
46 |
|
47 inline |
|
48 const TSize& CTransformerSharedData::TrueSrcSize() const |
|
49 { |
|
50 return iTrueSrcSize; |
|
51 } |
|
52 |
|
53 inline |
|
54 TUint CTransformerSharedData::TransformOptions() const |
|
55 { |
|
56 return iTransformOptions; |
|
57 } |
|
58 |
|
59 inline |
|
60 TBool CTransformerSharedData::ClippingSet() const |
|
61 { |
|
62 return iClippingSet; |
|
63 } |
|
64 |
|
65 inline const TRect& CTransformerSharedData::ClipRect() const |
|
66 { |
|
67 return iClipRect; |
|
68 } |
|
69 |
|
70 |