equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "TmTextDrawExt.h" |
|
20 |
|
21 /** |
|
22 A default implementation of MTmTextDrawExt::DrawLine(). |
|
23 */ |
|
24 void TTmTextDrawExt::DrawLine(CGraphicsContext& aGc, const TPoint& aPt1, const TPoint& aPt2) const |
|
25 { |
|
26 aGc.DrawLine(aPt1, aPt2); |
|
27 } |
|
28 |
|
29 /** |
|
30 A default implementation of MTmTextDrawExt::DrawText(). |
|
31 */ |
|
32 void TTmTextDrawExt::DrawText(CGraphicsContext& aGc, const TDesC& aText, const TPoint& aPt) const |
|
33 { |
|
34 aGc.DrawText(aText, aPt); |
|
35 } |
|
36 |
|
37 /** |
|
38 A default implementation of MTmTextDrawExt::DrawRect(). |
|
39 */ |
|
40 void TTmTextDrawExt::DrawRect(CGraphicsContext& aGc, const TRect& aRc) const |
|
41 { |
|
42 aGc.DrawRect(aRc); |
|
43 } |
|
44 |