uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10Gc.cpp
changeset 19 f5bac0badc7e
parent 14 83d2d132aa58
child 21 6ce30188c5bf
equal deleted inserted replaced
14:83d2d132aa58 19:f5bac0badc7e
  1553         }
  1553         }
  1554     HUI_VG_INVARIANT();
  1554     HUI_VG_INVARIANT();
  1555     
  1555     
  1556     }
  1556     }
  1557 
  1557 
  1558 void CHuiVg10Gc::DrawArc(const TRect& aRect, THuiFillMode aDrawMode, const TInt aThickness, TReal32 aStart, TReal32 aEnd, TBool aIsPie)
  1558 void CHuiVg10Gc::DrawArc(const TRect& aRect, THuiFillMode aDrawMode, const TInt aThickness, TReal32 aStart, TReal32 aEnd, TBool aIsPie) __SOFTFP
  1559     {
  1559     {
  1560     // Fix given destination rect to be in th middle of openvg pixels
  1560     // Fix given destination rect to be in th middle of openvg pixels
  1561     THuiRealRect destinationRect = aRect;
  1561     THuiRealRect destinationRect = aRect;
  1562     destinationRect.iTl.iX += 0.5f;
  1562     destinationRect.iTl.iX += 0.5f;
  1563     destinationRect.iTl.iY += 0.5f;
  1563     destinationRect.iTl.iY += 0.5f;
  1757 
  1757 
  1758 void CHuiVg10Gc::DrawBorderImages(const TRect& aOuterRect,
  1758 void CHuiVg10Gc::DrawBorderImages(const TRect& aOuterRect,
  1759                                   TReal32 aBorderWidth,
  1759                                   TReal32 aBorderWidth,
  1760                                   TReal32 aBorderHeight, 
  1760                                   TReal32 aBorderHeight, 
  1761                                   THuiRealPoint aOffset,
  1761                                   THuiRealPoint aOffset,
  1762                                   const THuiImage* aImage)
  1762                                   const THuiImage* aImage) __SOFTFP
  1763     {
  1763     {
  1764     // If there is no image, draw a solid border
  1764     // If there is no image, draw a solid border
  1765     if (!aImage || !aImage->HasTexture())
  1765     if (!aImage || !aImage->HasTexture())
  1766         {
  1766         {
  1767         //
  1767         //
  1870 void CHuiVg10Gc::DrawBorderFixedCorners(const TRect& aOuterRect, 
  1870 void CHuiVg10Gc::DrawBorderFixedCorners(const TRect& aOuterRect, 
  1871                                         TReal32 aLeftBorderWidth,
  1871                                         TReal32 aLeftBorderWidth,
  1872                                         TReal32 aRightBorderWidth, 
  1872                                         TReal32 aRightBorderWidth, 
  1873                                         TReal32 aTopBorderHeight,
  1873                                         TReal32 aTopBorderHeight,
  1874                                         TReal32 aBottomBorderHeight, 
  1874                                         TReal32 aBottomBorderHeight, 
  1875                                         const THuiImage* aImage)
  1875                                         const THuiImage* aImage) __SOFTFP
  1876     {
  1876     {
  1877     // If there is no image, draw a solid border
  1877     // If there is no image, draw a solid border
  1878     if (!aImage || !aImage->HasTexture())
  1878     if (!aImage || !aImage->HasTexture())
  1879         {
  1879         {
  1880         //
  1880         //