diff -r f5050f1da672 -r 04becd199f91 javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtbitmapgc.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtbitmapgc.h Tue Apr 27 16:30:29 2010 +0300 @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2005, 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Nokia Corporation - S60 implementation + *******************************************************************************/ + + +#ifndef SWTBITMAPGC_H +#define SWTBITMAPGC_H + + +#include "swtgcbase.h" + + +/** + * CSwtBitmapGc + * A GC for the font & bitmap server's devices + * @lib eswt + */ +NONSHARABLE_CLASS(CSwtBitmapGc) + : public CSwtGcBase +{ +public: + static CSwtBitmapGc* NewL(MSwtBitmapDrawable& aDrawable, + CFbsBitGc* aGc, MSwtGc::TDestructor aDestructor, + const TRgb& aPenCol, const TRgb& aBrushCol, + const MSwtFont& aFont); + +private: + inline CSwtBitmapGc(MSwtBitmapDrawable& aDrawable, + CFbsBitGc* aGc, MSwtGc::TDestructor aDestructor, + const TRgb& aPenCol, const TRgb& aBrushCol, + const MSwtFont& aFont, const TSize& aSize); + +// From MSwtGc +public: + void CopyAreaL(MSwtImage& aImage, const TPoint& aPoint) const; +}; + + +#endif // SWTBITMAPGC_H