uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10Gc.cpp
branchRCL_3
changeset 11 46927d61fef3
parent 10 88b23e2e82e1
child 17 3ac8bf5c5014
equal deleted inserted replaced
10:88b23e2e82e1 11:46927d61fef3
  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         //