151 */ |
151 */ |
152 enum WindowSurfaceType |
152 enum WindowSurfaceType |
153 { |
153 { |
154 WsTypeUnknown = 0x0000, // unknonwn or uninitialized type |
154 WsTypeUnknown = 0x0000, // unknonwn or uninitialized type |
155 WsTypeQtImage = 0x0001, // QImage |
155 WsTypeQtImage = 0x0001, // QImage |
156 WsTypeSymbianBitmap = 0x0002, // CFbsBitmap |
156 WsTypeQtPixmap = 0x0002, // QPixmap |
157 WsTypeEglSurface = 0x0004 // EGL surface |
157 WsTypeSymbianBitmap = 0x0004, // CFbsBitmap |
|
158 WsTypeEglSurface = 0x0016 // EGL surface |
158 }; |
159 }; |
159 |
160 |
160 |
161 |
161 /** |
162 /** |
162 * Interface to Buffer. |
163 * Interface to Buffer. |
627 virtual void drawString( |
628 virtual void drawString( |
628 const unsigned short* aText, int aX, int aY, int aWidth, int aHeight, |
629 const unsigned short* aText, int aX, int aY, int aWidth, int aHeight, |
629 int aLength, int aAlignments, int aFlags, bool aIsTransparent) = 0; |
630 int aLength, int aAlignments, int aFlags, bool aIsTransparent) = 0; |
630 |
631 |
631 /** |
632 /** |
|
633 * Draws given window surface to current target. |
|
634 * |
|
635 * @param aSurface The WindowSurface to draw |
|
636 * @param aX The x-coordinate of the area to draw |
|
637 * @param aY The y-coordinate of the area to draw |
|
638 * @param aWidth The width of the area to draw |
|
639 * @param aHeigth The height of the area to draw |
|
640 */ |
|
641 virtual void drawWindowSurface(WindowSurface* aSurface, int aX, int aY, int aWidth, int aHeight) = 0; |
|
642 |
|
643 /** |
632 * Fill interior of circular or elliptical arc within specified rectangular area. |
644 * Fill interior of circular or elliptical arc within specified rectangular area. |
633 * |
645 * |
634 * @param aX The x coordinate of top left corner of arc rectangle |
646 * @param aX The x coordinate of top left corner of arc rectangle |
635 * @param aY The y coordinate of top left corner of arc rectangle |
647 * @param aY The y coordinate of top left corner of arc rectangle |
636 * @param aWidth The width of arc rectangle |
648 * @param aWidth The width of arc rectangle |