WebRadioApp  0.1
ewgfx.h File Reference
#include <ewconfig.h>
#include "ewgfxdriver.h"
#include "ewextgfx.h"
#include "ewgfxdefs.h"
#include "ewextbmp.h"
#include "ewextfnt.h"
#include "ewgfxcore.h"
Include dependency graph for ewgfx.h:

Go to the source code of this file.

Data Structures

struct  XBitmapFrame
 
struct  XBitmap
 
struct  XFont
 
struct  XGlyphMetrics
 
struct  XBitmapLock
 
struct  XGlyphLock
 
struct  XViewport
 
struct  XAttrSet
 
struct  XAttrLink
 
struct  XAttrString
 
struct  _XSubPath
 
struct  _XPathMatrix
 
struct  XPath
 

Macros

#define EW_GFX_VERSION   0x000A0000
 
#define EW_PATH_CAP_START_FLAT   0x00000000
 
#define EW_PATH_CAP_START_SQUARE   0x00000001
 
#define EW_PATH_CAP_START_TRIANGLE   0x00000002
 
#define EW_PATH_CAP_START_ROUND   0x00000003
 
#define EW_PATH_CAP_END_FLAT   0x00000000
 
#define EW_PATH_CAP_END_SQUARE   0x00000100
 
#define EW_PATH_CAP_END_TRIANGLE   0x00000200
 
#define EW_PATH_CAP_END_ROUND   0x00000300
 
#define EW_PATH_CAP_FLAT   0x00000000
 
#define EW_PATH_CAP_SQUARE   0x00000101
 
#define EW_PATH_CAP_TRIANGLE   0x00000202
 
#define EW_PATH_CAP_ROUND   0x00000303
 
#define EW_PATH_JOIN_BEVEL   0x00000000
 
#define EW_PATH_JOIN_MITER   0x00010000
 
#define EW_PATH_JOIN_ROUND   0x00020000
 
#define EW_SVG_PARSER_SUCCESS   0
 
#define EW_SVG_PARSER_EMPTY_STRING   1
 
#define EW_SVG_PARSER_SYNTAX_ERROR   2
 
#define EW_SVG_PARSER_INVALID_ARGUMENT   3
 
#define EW_SVG_PARSER_OUT_OF_MEMORY   4
 
#define EwConfigGraphicsEngine()
 

Typedefs

typedef struct XViewport XViewport
 
typedef void(* XViewportProc) (XViewport *aViewport, unsigned long aHandle, void *aDisplay1, void *aDisplay2, void *aDisplay3, XRect aArea)
 
typedef struct _XSubPath XSubPath
 
typedef struct _XPathMatrix XPathMatrix
 

Functions

int EwInitGraphicsEngine (void *aArgs)
 
void EwDoneGraphicsEngine (void)
 
void EwEnableGfxTaskTracing (int aEnable)
 
XBitmapEwCreateBitmap (int aFormat, XPoint aFrameSize, XInt32 aFrameDelay, XInt32 aNoOfFrames)
 
XBitmapEwLoadBitmap (const struct XBmpRes *aResource)
 
void EwFreeBitmap (XBitmap *aBitmap)
 
XBitmapLockEwLockBitmap (XBitmap *aBitmap, XInt32 aFrameNo, XRect aArea, XBool aRead, XBool aWrite)
 
void EwUnlockBitmap (XBitmapLock *aLock)
 
void EwModifyBitmapPalette (XBitmap *aBitmap, XInt32 aIndex, XInt32 aCount, XColor *aColors)
 
void EwFlushBitmap (XBitmap *aBitmap)
 
XFontEwLoadFont (const struct XFntRes *aResource)
 
void EwFreeFont (XFont *aFont)
 
XViewportEwInitViewport (XPoint aSize, XRect aExtent, XInt32 aOrient, XInt32 aOpacity, void *aDisplay1, void *aDisplay2, void *aDisplay3, XViewportProc aProc)
 
void EwDoneViewport (XViewport *aViewport)
 
int EwConfigViewport (XViewport *aViewport, XPoint aPos, XInt32 aOpacity)
 
XBitmapEwBeginUpdate (XViewport *aViewport)
 
XBitmapEwBeginUpdateArea (XViewport *aViewport, XRect aArea)
 
void EwEndUpdate (XViewport *aViewport, XRect aArea)
 
void EwFillRectangle (XBitmap *aDst, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
void EwDrawBorder (XBitmap *aDst, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XInt32 aEdgeWidth, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
XPathEwCreatePath (XInt32 aMaxNoOfSubPaths)
 
XPathEwCreatePathFromSVGString (XString aSVGString, XFloat aScaleX, XFloat aScaleY, XFloat aDeltaX, XFloat aDeltaY, XFloat aAngle)
 
int EwGetSVGParserStatus (void)
 
XInt32 EwGetSVGParserErrorPos (void)
 
void EwFreePath (XPath *aPath)
 
XInt32 EwGetMaxNoOfSubPaths (XPath *aPath)
 
XBool EwInitSubPath (XPath *aPath, XInt32 aSubPathNo, XInt32 aMaxNoOfEdges)
 
void EwBeginSubPath (XPath *aPath, XInt32 aSubPathNo, XFloat aX, XFloat aY)
 
XInt32 EwAddSubPathLine (XPath *aPath, XInt32 aSubPathNo, XFloat aX, XFloat aY)
 
XInt32 EwAddSubPathBezier2 (XPath *aPath, XInt32 aSubPathNo, XFloat aCPX, XFloat aCPY, XFloat aX, XFloat aY, XInt32 aNoOfEdges)
 
XInt32 EwAddSubPathBezier3 (XPath *aPath, XInt32 aSubPathNo, XFloat aCP1X, XFloat aCP1Y, XFloat aCP2X, XFloat aCP2Y, XFloat aX, XFloat aY, XInt32 aNoOfEdges)
 
XInt32 EwAddSubPathArc (XPath *aPath, XInt32 aSubPathNo, XFloat aCenterX, XFloat aCenterY, XFloat aRadiusX, XFloat aRadiusY, XFloat aStartAngle, XFloat aEndAngle, XInt32 aNoOfEdges)
 
XInt32 EwAddSubPathCopy (XPath *aPath, XInt32 aSubPathNo, XPath *aSrcPath, XInt32 aSrcSubPathNo, XInt32 aSrcNodeNo, XInt32 aNoOfEdges)
 
void EwCloseSubPath (XPath *aPath, XInt32 aSubPathNo)
 
XInt32 EwShiftSubPathNodes (XPath *aPath, XInt32 aSubPathNo, XInt32 aNoOfNodes, XFloat aTranslateX, XFloat aTranslateY)
 
void EwSetSubPathNode (XPath *aPath, XInt32 aSubPathNo, XInt32 aNodeNo, XFloat aX, XFloat aY)
 
XFloat EwGetSubPathNodeX (XPath *aPath, XInt32 aSubPathNo, XInt32 aNodeNo)
 
XFloat EwGetSubPathNodeY (XPath *aPath, XInt32 aSubPathNo, XInt32 aNodeNo)
 
XInt32 EwGetNoOfSubPathEdges (XPath *aPath, XInt32 aSubPathNo)
 
XInt32 EwGetNoOfFreeSubPathEdges (XPath *aPath, XInt32 aSubPathNo)
 
XBool EwIsSubPathClosed (XPath *aPath, XInt32 aSubPathNo)
 
XRect EwGetSubPathBounds (XPath *aPath, XInt32 aSubPathNo)
 
XRect EwGetPathBounds (XPath *aPath)
 
void EwTranslatePathMatrix (XPath *aPath, XFloat aDeltaX, XFloat aDeltaY)
 
void EwScalePathMatrix (XPath *aPath, XFloat aScaleX, XFloat aScaleY)
 
void EwRotatePathMatrix (XPath *aPath, XFloat aAngle)
 
void EwPushPathMatrix (XPath *aPath)
 
void EwPopPathMatrix (XPath *aPath)
 
void EwInitPathMatrix (XPath *aPath)
 
void EwFillPath (XBitmap *aDst, XPath *aPath, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XBool aFlipY, XPoint aOffset, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased, XBool aNonZeroWinding)
 
void EwStrokePath (XBitmap *aDst, XPath *aPath, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XBool aFlipY, XPoint aOffset, XFloat aWidth, XUInt32 aStyle, XFloat aMiterLimit, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased)
 
XBitmapEwGetBitmapFromFillPath (XPoint aSize, XPath *aPath, XBool aFlipY, XPoint aOffset, XBool aAntialiased, XBool aNonZeroWinding)
 
XBitmapEwGetBitmapFromStrokePath (XPoint aSize, XPath *aPath, XBool aFlipY, XPoint aOffset, XFloat aWidth, XUInt32 aStyle, XFloat aMiterLimit, XBool aAntialiased)
 
void EwCopyBitmap (XBitmap *aDst, XBitmap *aSrc, XInt32 aDstFrameNo, XInt32 aSrcFrameNo, XRect aClipRect, XRect aDstRect, XPoint aSrcPos, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
void EwTileBitmap (XBitmap *aDst, XBitmap *aSrc, XInt32 aDstFrameNo, XInt32 aSrcFrameNo, XRect aClipRect, XRect aDstRect, XRect aSrcRect, XPoint aSrcPos, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
void EwWarpBitmap (XBitmap *aDst, XBitmap *aSrc, XInt32 aDstFrameNo, XInt32 aSrcFrameNo, XRect aClipRect, XFloat aDstX1, XFloat aDstY1, XFloat aDstW1, XFloat aDstX2, XFloat aDstY2, XFloat aDstW2, XFloat aDstX3, XFloat aDstY3, XFloat aDstW3, XFloat aDstX4, XFloat aDstY4, XFloat aDstW4, XRect aSrcRect, XColor aColor1, XColor aColor2, XColor aColor3, XColor aColor4, XBool aBlend, XBool aFilter)
 
void EwDrawLine (XBitmap *aDst, XInt32 aDstFrameNo, XRect aClipRect, XPoint aDstPos1, XPoint aDstPos2, XColor aColor1, XColor aColor2, XBool aBlend)
 
void EwDrawText (XBitmap *aDst, XFont *aFont, XChar *aString, XInt32 aCount, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XPoint aSrcPos, XInt32 aMinWidth, XInt32 aOrientation, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
XRect EwGetTextExtent (XFont *aFont, XChar *aString, XInt32 aCount)
 
XInt32 EwGetTextAdvance (XFont *aFont, XChar *aString, XInt32 aCount)
 
XInt32 EwGetTextColumnAtPosition (XFont *aFont, XChar *aString, XInt32 aCount, XInt32 aX, XInt32 aMinWidth)
 
XInt32 EwGetPositionAtTextColumn (XFont *aFont, XChar *aString, XInt32 aCount, XInt32 aColumn, XInt32 aMinWidth)
 
int EwIsGlyphAvailable (XFont *aFont, XChar aCharCode)
 
int EwGetGlyphMetrics (XFont *aFont, XChar aCharCode, XGlyphMetrics *aMetrics)
 
XInt32 EwGetKerning (XFont *aFont, XChar aCharCode1, XChar aCharCode2)
 
XGlyphLockEwLockGlyph (XFont *aFont, XChar aCharCode)
 
void EwUnlockGlyph (XGlyphLock *aLock)
 
void EwDrawBitmapFrame (XBitmap *aDst, XBitmap *aSrc, XInt32 aDstFrameNo, XInt32 aSrcFrameNo, XRect aClipRect, XRect aDstRect, XRect aSrcRect, XBool aDrawLeftEdge, XBool aDrawTopEdge, XBool aDrawRightEdge, XBool aDrawBottomEdge, XBool aDrawInterior, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
 
XString EwParseFlowString (XFont *aFont, XChar *aString, XInt32 aWidth, XInt32 aMaxNoOfRows, XHandle aBidi)
 
XInt32 EwGetFlowTextAdvance (XFont *aFont, XChar *aFlowString)
 
XAttrSetEwCreateAttrSet (XInt32 aNoOfFonts, XInt32 aNoOfBitmaps, XInt32 aNoOfColors)
 
void EwFreeAttrSet (XAttrSet *aAttrSet)
 
XInt32 EwGetNoOfAttrFonts (XAttrSet *aAttrSet)
 
XInt32 EwGetNoOfAttrBitmaps (XAttrSet *aAttrSet)
 
XInt32 EwGetNoOfAttrColors (XAttrSet *aAttrSet)
 
XFontEwGetAttrFont (XAttrSet *aAttrSet, XInt32 aFontNo)
 
XBitmapEwGetAttrBitmap (XAttrSet *aAttrSet, XInt32 aBitmapNo)
 
XColor EwGetAttrColor (XAttrSet *aAttrSet, XInt32 aColorNo)
 
void EwSetAttrFont (XAttrSet *aAttrSet, XInt32 aFontNo, XFont *aFont)
 
void EwSetAttrBitmap (XAttrSet *aAttrSet, XInt32 aBitmapNo, XBitmap *aBitmap)
 
void EwSetAttrColor (XAttrSet *aAttrSet, XInt32 aColorNo, XColor aColor)
 
XAttrStringEwParseAttrString (XAttrSet *aAttrSet, XChar *aString, XInt32 aWidth, XBool aEnableBidiText)
 
void EwFreeAttrString (XAttrString *aAttrString)
 
void EwDrawAttrText (XBitmap *aDst, XAttrSet *aAttrSet, XAttrString *aAttrString, XInt32 aDstFrameNo, XRect aClipRect, XRect aDstRect, XPoint aSrcPos, XInt32 aOpacityTL, XInt32 aOpacityTR, XInt32 aOpacityBR, XInt32 aOpacityBL, XBool aBlend)
 
XPoint EwGetAttrTextSize (XAttrString *aAttrString)
 
XBool EwIsAttrTextRTL (XAttrString *aAttrString)
 
XInt32 EwGetNoOfAttrLinks (XAttrString *aAttrString)
 
XString EwGetAttrLinkName (XAttrString *aAttrString, XInt32 aLinkNo)
 
XInt32 EwGetNoOfAttrLinkRegions (XAttrString *aAttrString, XInt32 aLinkNo)
 
XRect EwGetAttrLinkRect (XAttrString *aAttrString, XInt32 aLinkNo, XInt32 aRegionNo)
 
XInt32 EwGetAttrLinkBaseline (XAttrString *aAttrString, XInt32 aLinkNo, XInt32 aRegionNo)
 
XHandle EwCreateBidi (XInt32 aMaxSize)
 
void EwFreeBidi (XHandle aBidi)
 
XBool EwBidiIsNeeded (XHandle aBidi)
 
XBool EwBidiIsRTL (XHandle aBidi)
 
XInt32 EwBidiGetCharLevel (XHandle aBidi, XInt32 aIndex)
 
XBool EwBidiInit (XHandle aBidi, XChar *aString, XInt32 aCount, XInt32 aBaseDirection)
 
void EwBidiProcess (XHandle aBidi, XChar *aString)
 
void EwBidiApplyShaping (XHandle aBidi, XChar *aString, XUInt32 *aAttrs, XFont **aFonts, XInt32 aNoOfFonts)
 
void EwBidiMirrorGlyphs (XHandle aBidi, XChar *aString)
 
void EwBidiCompleteRow (XHandle aBidi, XInt32 aRowStart, XInt32 aRowEnd)
 
void EwBidiReorderChars (XHandle aBidi, XInt32 aRowStart, XInt32 aRowEnd, XChar *aChars)
 
void EwBidiReorderDWords (XHandle aBidi, XInt32 aRowStart, XInt32 aRowEnd, XUInt32 *aDWords)
 
XInt32 EwBidiReorderIndex (XHandle aBidi, XInt32 aRowStart, XInt32 aRowEnd, XInt32 aIndex)
 
XInt32 EwBidiReverseReorderIndex (XHandle aBidi, XInt32 aRowStart, XInt32 aRowEnd, XInt32 aIndex)
 
void EwBidiGetTypesAndLevels (XHandle aBidi, unsigned char *aTypes, unsigned char *aLevels)
 
XColor EwIndexToColor (XInt32 aIndex)
 
XUInt8 EwColorToIndex (XColor aColor)
 
XUInt8 EwAllocUserColor (XColor aColor)
 
void EwFreeUserColor (XInt32 aIndex)
 
void EwSetUserColor (XInt32 aIndex, XColor aColor)
 
XUInt8 EwFindUserColor (XColor aColor)
 
XRect EwGetOverlayArea (XBool aVisible, XBool aUpdate)
 

Variables

int EwFullScreenUpdate
 
int EwFullOffScreenBufferUpdate
 
int EwPreserveFramebufferContent
 
int EwMaxSurfaceCacheSize
 
int EwMaxGlyphSurfaceWidth
 
int EwMaxGlyphSurfaceHeight
 
int EwMaxIssueTasks
 
int EwLazyLoadBitmaps
 
int EwDiscardBitmaps
 
int EwLazyLoadBitmapsIfAnimatedOnly
 
int EwDiscardBitmapsIfAnimatedOnly
 
int EwDiscardBitmapsIfNotUsedInCurrentUpdate
 
int EwDiscardBitmapsIfNotUsedInRecentUpdates
 

Macro Definition Documentation

◆ EW_GFX_VERSION

#define EW_GFX_VERSION   0x000A0000

◆ EW_PATH_CAP_END_FLAT

#define EW_PATH_CAP_END_FLAT   0x00000000

◆ EW_PATH_CAP_END_ROUND

#define EW_PATH_CAP_END_ROUND   0x00000300

◆ EW_PATH_CAP_END_SQUARE

#define EW_PATH_CAP_END_SQUARE   0x00000100

◆ EW_PATH_CAP_END_TRIANGLE

#define EW_PATH_CAP_END_TRIANGLE   0x00000200

◆ EW_PATH_CAP_FLAT

#define EW_PATH_CAP_FLAT   0x00000000

◆ EW_PATH_CAP_ROUND

#define EW_PATH_CAP_ROUND   0x00000303

◆ EW_PATH_CAP_SQUARE

#define EW_PATH_CAP_SQUARE   0x00000101

◆ EW_PATH_CAP_START_FLAT

#define EW_PATH_CAP_START_FLAT   0x00000000

◆ EW_PATH_CAP_START_ROUND

#define EW_PATH_CAP_START_ROUND   0x00000003

◆ EW_PATH_CAP_START_SQUARE

#define EW_PATH_CAP_START_SQUARE   0x00000001

◆ EW_PATH_CAP_START_TRIANGLE

#define EW_PATH_CAP_START_TRIANGLE   0x00000002

◆ EW_PATH_CAP_TRIANGLE

#define EW_PATH_CAP_TRIANGLE   0x00000202

◆ EW_PATH_JOIN_BEVEL

#define EW_PATH_JOIN_BEVEL   0x00000000

◆ EW_PATH_JOIN_MITER

#define EW_PATH_JOIN_MITER   0x00010000

◆ EW_PATH_JOIN_ROUND

#define EW_PATH_JOIN_ROUND   0x00020000

◆ EW_SVG_PARSER_EMPTY_STRING

#define EW_SVG_PARSER_EMPTY_STRING   1

◆ EW_SVG_PARSER_INVALID_ARGUMENT

#define EW_SVG_PARSER_INVALID_ARGUMENT   3

◆ EW_SVG_PARSER_OUT_OF_MEMORY

#define EW_SVG_PARSER_OUT_OF_MEMORY   4

◆ EW_SVG_PARSER_SUCCESS

#define EW_SVG_PARSER_SUCCESS   0

◆ EW_SVG_PARSER_SYNTAX_ERROR

#define EW_SVG_PARSER_SYNTAX_ERROR   2

◆ EwConfigGraphicsEngine

#define EwConfigGraphicsEngine ( )
Value:
do { \
EwMaxSurfaceCacheSize = EW_MAX_SURFACE_CACHE_SIZE; \
EwMaxGlyphSurfaceWidth = EW_MAX_GLYPH_SURFACE_WIDTH; \
EwMaxGlyphSurfaceHeight = EW_MAX_GLYPH_SURFACE_HEIGHT; \
EwMaxIssueTasks = EW_MAX_ISSUE_TASKS; \
EwLazyLoadBitmaps = EW_LAZY_LOAD_BITMAPS; \
EwLazyLoadBitmapsIfAnimatedOnly = \
EW_LAZY_LOAD_BITMAPS_IF_ANIMATED_ONLY; \
EwDiscardBitmaps = EW_DISCARD_BITMAPS; \
EwDiscardBitmapsIfAnimatedOnly = EW_DISCARD_BITMAPS_IF_ANIMATED_ONLY; \
EwDiscardBitmapsIfNotUsedInCurrentUpdate = \
EW_DISCARD_BITMAPS_IF_NOT_USED_IN_CURRENT_UPDATE; \
EwDiscardBitmapsIfNotUsedInRecentUpdates = \
EW_DISCARD_BITMAPS_IF_NOT_USED_IN_RECENT_UPDATES; \
} while (0)

Typedef Documentation

◆ XPathMatrix

typedef struct _XPathMatrix XPathMatrix

◆ XSubPath

typedef struct _XSubPath XSubPath

◆ XViewport

typedef struct XViewport XViewport

◆ XViewportProc

typedef void(* XViewportProc) (XViewport *aViewport, unsigned long aHandle, void *aDisplay1, void *aDisplay2, void *aDisplay3, XRect aArea)

Function Documentation

◆ EwAddSubPathArc()

XInt32 EwAddSubPathArc ( XPath aPath,
XInt32  aSubPathNo,
XFloat  aCenterX,
XFloat  aCenterY,
XFloat  aRadiusX,
XFloat  aRadiusY,
XFloat  aStartAngle,
XFloat  aEndAngle,
XInt32  aNoOfEdges 
)
Here is the caller graph for this function:

◆ EwAddSubPathBezier2()

XInt32 EwAddSubPathBezier2 ( XPath aPath,
XInt32  aSubPathNo,
XFloat  aCPX,
XFloat  aCPY,
XFloat  aX,
XFloat  aY,
XInt32  aNoOfEdges 
)

◆ EwAddSubPathBezier3()

XInt32 EwAddSubPathBezier3 ( XPath aPath,
XInt32  aSubPathNo,
XFloat  aCP1X,
XFloat  aCP1Y,
XFloat  aCP2X,
XFloat  aCP2Y,
XFloat  aX,
XFloat  aY,
XInt32  aNoOfEdges 
)
Here is the caller graph for this function:

◆ EwAddSubPathCopy()

XInt32 EwAddSubPathCopy ( XPath aPath,
XInt32  aSubPathNo,
XPath aSrcPath,
XInt32  aSrcSubPathNo,
XInt32  aSrcNodeNo,
XInt32  aNoOfEdges 
)

◆ EwAddSubPathLine()

XInt32 EwAddSubPathLine ( XPath aPath,
XInt32  aSubPathNo,
XFloat  aX,
XFloat  aY 
)
Here is the caller graph for this function:

◆ EwAllocUserColor()

XUInt8 EwAllocUserColor ( XColor  aColor)

◆ EwBeginSubPath()

void EwBeginSubPath ( XPath aPath,
XInt32  aSubPathNo,
XFloat  aX,
XFloat  aY 
)
Here is the caller graph for this function:

◆ EwBeginUpdate()

XBitmap* EwBeginUpdate ( XViewport aViewport)
Here is the caller graph for this function:

◆ EwBeginUpdateArea()

XBitmap* EwBeginUpdateArea ( XViewport aViewport,
XRect  aArea 
)
Here is the caller graph for this function:

◆ EwBidiApplyShaping()

void EwBidiApplyShaping ( XHandle  aBidi,
XChar aString,
XUInt32 aAttrs,
XFont **  aFonts,
XInt32  aNoOfFonts 
)

◆ EwBidiCompleteRow()

void EwBidiCompleteRow ( XHandle  aBidi,
XInt32  aRowStart,
XInt32  aRowEnd 
)

◆ EwBidiGetCharLevel()

XInt32 EwBidiGetCharLevel ( XHandle  aBidi,
XInt32  aIndex 
)

◆ EwBidiGetTypesAndLevels()

void EwBidiGetTypesAndLevels ( XHandle  aBidi,
unsigned char *  aTypes,
unsigned char *  aLevels 
)

◆ EwBidiInit()

XBool EwBidiInit ( XHandle  aBidi,
XChar aString,
XInt32  aCount,
XInt32  aBaseDirection 
)

◆ EwBidiIsNeeded()

XBool EwBidiIsNeeded ( XHandle  aBidi)
Here is the caller graph for this function:

◆ EwBidiIsRTL()

XBool EwBidiIsRTL ( XHandle  aBidi)
Here is the caller graph for this function:

◆ EwBidiMirrorGlyphs()

void EwBidiMirrorGlyphs ( XHandle  aBidi,
XChar aString 
)

◆ EwBidiProcess()

void EwBidiProcess ( XHandle  aBidi,
XChar aString 
)

◆ EwBidiReorderChars()

void EwBidiReorderChars ( XHandle  aBidi,
XInt32  aRowStart,
XInt32  aRowEnd,
XChar aChars 
)

◆ EwBidiReorderDWords()

void EwBidiReorderDWords ( XHandle  aBidi,
XInt32  aRowStart,
XInt32  aRowEnd,
XUInt32 aDWords 
)

◆ EwBidiReorderIndex()

XInt32 EwBidiReorderIndex ( XHandle  aBidi,
XInt32  aRowStart,
XInt32  aRowEnd,
XInt32  aIndex 
)

◆ EwBidiReverseReorderIndex()

XInt32 EwBidiReverseReorderIndex ( XHandle  aBidi,
XInt32  aRowStart,
XInt32  aRowEnd,
XInt32  aIndex 
)

◆ EwCloseSubPath()

void EwCloseSubPath ( XPath aPath,
XInt32  aSubPathNo 
)
Here is the caller graph for this function:

◆ EwColorToIndex()

XUInt8 EwColorToIndex ( XColor  aColor)

◆ EwConfigViewport()

int EwConfigViewport ( XViewport aViewport,
XPoint  aPos,
XInt32  aOpacity 
)

◆ EwCopyBitmap()

void EwCopyBitmap ( XBitmap aDst,
XBitmap aSrc,
XInt32  aDstFrameNo,
XInt32  aSrcFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XPoint  aSrcPos,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)
Here is the caller graph for this function:

◆ EwCreateAttrSet()

XAttrSet* EwCreateAttrSet ( XInt32  aNoOfFonts,
XInt32  aNoOfBitmaps,
XInt32  aNoOfColors 
)

◆ EwCreateBidi()

XHandle EwCreateBidi ( XInt32  aMaxSize)
Here is the caller graph for this function:

◆ EwCreateBitmap()

XBitmap* EwCreateBitmap ( int  aFormat,
XPoint  aFrameSize,
XInt32  aFrameDelay,
XInt32  aNoOfFrames 
)
Here is the caller graph for this function:

◆ EwCreatePath()

XPath* EwCreatePath ( XInt32  aMaxNoOfSubPaths)
Here is the caller graph for this function:

◆ EwCreatePathFromSVGString()

XPath* EwCreatePathFromSVGString ( XString  aSVGString,
XFloat  aScaleX,
XFloat  aScaleY,
XFloat  aDeltaX,
XFloat  aDeltaY,
XFloat  aAngle 
)

◆ EwDoneGraphicsEngine()

void EwDoneGraphicsEngine ( void  )
Here is the caller graph for this function:

◆ EwDoneViewport()

void EwDoneViewport ( XViewport aViewport)
Here is the caller graph for this function:

◆ EwDrawAttrText()

void EwDrawAttrText ( XBitmap aDst,
XAttrSet aAttrSet,
XAttrString aAttrString,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XPoint  aSrcPos,
XInt32  aOpacityTL,
XInt32  aOpacityTR,
XInt32  aOpacityBR,
XInt32  aOpacityBL,
XBool  aBlend 
)

◆ EwDrawBitmapFrame()

void EwDrawBitmapFrame ( XBitmap aDst,
XBitmap aSrc,
XInt32  aDstFrameNo,
XInt32  aSrcFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XRect  aSrcRect,
XBool  aDrawLeftEdge,
XBool  aDrawTopEdge,
XBool  aDrawRightEdge,
XBool  aDrawBottomEdge,
XBool  aDrawInterior,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)
Here is the caller graph for this function:

◆ EwDrawBorder()

void EwDrawBorder ( XBitmap aDst,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XInt32  aEdgeWidth,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)

◆ EwDrawLine()

void EwDrawLine ( XBitmap aDst,
XInt32  aDstFrameNo,
XRect  aClipRect,
XPoint  aDstPos1,
XPoint  aDstPos2,
XColor  aColor1,
XColor  aColor2,
XBool  aBlend 
)
Here is the caller graph for this function:

◆ EwDrawText()

void EwDrawText ( XBitmap aDst,
XFont aFont,
XChar aString,
XInt32  aCount,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XPoint  aSrcPos,
XInt32  aMinWidth,
XInt32  aOrientation,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)
Here is the caller graph for this function:

◆ EwEnableGfxTaskTracing()

void EwEnableGfxTaskTracing ( int  aEnable)

◆ EwEndUpdate()

void EwEndUpdate ( XViewport aViewport,
XRect  aArea 
)
Here is the caller graph for this function:

◆ EwFillPath()

void EwFillPath ( XBitmap aDst,
XPath aPath,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XBool  aFlipY,
XPoint  aOffset,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend,
XBool  aAntialiased,
XBool  aNonZeroWinding 
)
Here is the caller graph for this function:

◆ EwFillRectangle()

void EwFillRectangle ( XBitmap aDst,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)
Here is the caller graph for this function:

◆ EwFindUserColor()

XUInt8 EwFindUserColor ( XColor  aColor)

◆ EwFlushBitmap()

void EwFlushBitmap ( XBitmap aBitmap)

◆ EwFreeAttrSet()

void EwFreeAttrSet ( XAttrSet aAttrSet)

◆ EwFreeAttrString()

void EwFreeAttrString ( XAttrString aAttrString)

◆ EwFreeBidi()

void EwFreeBidi ( XHandle  aBidi)
Here is the caller graph for this function:

◆ EwFreeBitmap()

void EwFreeBitmap ( XBitmap aBitmap)
Here is the caller graph for this function:

◆ EwFreeFont()

void EwFreeFont ( XFont aFont)
Here is the caller graph for this function:

◆ EwFreePath()

void EwFreePath ( XPath aPath)
Here is the caller graph for this function:

◆ EwFreeUserColor()

void EwFreeUserColor ( XInt32  aIndex)

◆ EwGetAttrBitmap()

XBitmap* EwGetAttrBitmap ( XAttrSet aAttrSet,
XInt32  aBitmapNo 
)

◆ EwGetAttrColor()

XColor EwGetAttrColor ( XAttrSet aAttrSet,
XInt32  aColorNo 
)

◆ EwGetAttrFont()

XFont* EwGetAttrFont ( XAttrSet aAttrSet,
XInt32  aFontNo 
)

◆ EwGetAttrLinkBaseline()

XInt32 EwGetAttrLinkBaseline ( XAttrString aAttrString,
XInt32  aLinkNo,
XInt32  aRegionNo 
)

◆ EwGetAttrLinkName()

XString EwGetAttrLinkName ( XAttrString aAttrString,
XInt32  aLinkNo 
)

◆ EwGetAttrLinkRect()

XRect EwGetAttrLinkRect ( XAttrString aAttrString,
XInt32  aLinkNo,
XInt32  aRegionNo 
)

◆ EwGetAttrTextSize()

XPoint EwGetAttrTextSize ( XAttrString aAttrString)

◆ EwGetBitmapFromFillPath()

XBitmap* EwGetBitmapFromFillPath ( XPoint  aSize,
XPath aPath,
XBool  aFlipY,
XPoint  aOffset,
XBool  aAntialiased,
XBool  aNonZeroWinding 
)
Here is the caller graph for this function:

◆ EwGetBitmapFromStrokePath()

XBitmap* EwGetBitmapFromStrokePath ( XPoint  aSize,
XPath aPath,
XBool  aFlipY,
XPoint  aOffset,
XFloat  aWidth,
XUInt32  aStyle,
XFloat  aMiterLimit,
XBool  aAntialiased 
)
Here is the caller graph for this function:

◆ EwGetFlowTextAdvance()

XInt32 EwGetFlowTextAdvance ( XFont aFont,
XChar aFlowString 
)
Here is the caller graph for this function:

◆ EwGetGlyphMetrics()

int EwGetGlyphMetrics ( XFont aFont,
XChar  aCharCode,
XGlyphMetrics aMetrics 
)

◆ EwGetKerning()

XInt32 EwGetKerning ( XFont aFont,
XChar  aCharCode1,
XChar  aCharCode2 
)

◆ EwGetMaxNoOfSubPaths()

XInt32 EwGetMaxNoOfSubPaths ( XPath aPath)
Here is the caller graph for this function:

◆ EwGetNoOfAttrBitmaps()

XInt32 EwGetNoOfAttrBitmaps ( XAttrSet aAttrSet)

◆ EwGetNoOfAttrColors()

XInt32 EwGetNoOfAttrColors ( XAttrSet aAttrSet)

◆ EwGetNoOfAttrFonts()

XInt32 EwGetNoOfAttrFonts ( XAttrSet aAttrSet)

◆ EwGetNoOfAttrLinkRegions()

XInt32 EwGetNoOfAttrLinkRegions ( XAttrString aAttrString,
XInt32  aLinkNo 
)

◆ EwGetNoOfAttrLinks()

XInt32 EwGetNoOfAttrLinks ( XAttrString aAttrString)

◆ EwGetNoOfFreeSubPathEdges()

XInt32 EwGetNoOfFreeSubPathEdges ( XPath aPath,
XInt32  aSubPathNo 
)

◆ EwGetNoOfSubPathEdges()

XInt32 EwGetNoOfSubPathEdges ( XPath aPath,
XInt32  aSubPathNo 
)

◆ EwGetOverlayArea()

XRect EwGetOverlayArea ( XBool  aVisible,
XBool  aUpdate 
)
Here is the caller graph for this function:

◆ EwGetPathBounds()

XRect EwGetPathBounds ( XPath aPath)

◆ EwGetPositionAtTextColumn()

XInt32 EwGetPositionAtTextColumn ( XFont aFont,
XChar aString,
XInt32  aCount,
XInt32  aColumn,
XInt32  aMinWidth 
)

◆ EwGetSubPathBounds()

XRect EwGetSubPathBounds ( XPath aPath,
XInt32  aSubPathNo 
)

◆ EwGetSubPathNodeX()

XFloat EwGetSubPathNodeX ( XPath aPath,
XInt32  aSubPathNo,
XInt32  aNodeNo 
)

◆ EwGetSubPathNodeY()

XFloat EwGetSubPathNodeY ( XPath aPath,
XInt32  aSubPathNo,
XInt32  aNodeNo 
)

◆ EwGetSVGParserErrorPos()

XInt32 EwGetSVGParserErrorPos ( void  )

◆ EwGetSVGParserStatus()

int EwGetSVGParserStatus ( void  )

◆ EwGetTextAdvance()

XInt32 EwGetTextAdvance ( XFont aFont,
XChar aString,
XInt32  aCount 
)
Here is the caller graph for this function:

◆ EwGetTextColumnAtPosition()

XInt32 EwGetTextColumnAtPosition ( XFont aFont,
XChar aString,
XInt32  aCount,
XInt32  aX,
XInt32  aMinWidth 
)

◆ EwGetTextExtent()

XRect EwGetTextExtent ( XFont aFont,
XChar aString,
XInt32  aCount 
)

◆ EwIndexToColor()

XColor EwIndexToColor ( XInt32  aIndex)

◆ EwInitGraphicsEngine()

int EwInitGraphicsEngine ( void aArgs)
Here is the caller graph for this function:

◆ EwInitPathMatrix()

void EwInitPathMatrix ( XPath aPath)

◆ EwInitSubPath()

XBool EwInitSubPath ( XPath aPath,
XInt32  aSubPathNo,
XInt32  aMaxNoOfEdges 
)
Here is the caller graph for this function:

◆ EwInitViewport()

XViewport* EwInitViewport ( XPoint  aSize,
XRect  aExtent,
XInt32  aOrient,
XInt32  aOpacity,
void aDisplay1,
void aDisplay2,
void aDisplay3,
XViewportProc  aProc 
)
Here is the caller graph for this function:

◆ EwIsAttrTextRTL()

XBool EwIsAttrTextRTL ( XAttrString aAttrString)

◆ EwIsGlyphAvailable()

int EwIsGlyphAvailable ( XFont aFont,
XChar  aCharCode 
)

◆ EwIsSubPathClosed()

XBool EwIsSubPathClosed ( XPath aPath,
XInt32  aSubPathNo 
)

◆ EwLoadBitmap()

XBitmap* EwLoadBitmap ( const struct XBmpRes aResource)
Here is the caller graph for this function:

◆ EwLoadFont()

XFont* EwLoadFont ( const struct XFntRes aResource)
Here is the caller graph for this function:

◆ EwLockBitmap()

XBitmapLock* EwLockBitmap ( XBitmap aBitmap,
XInt32  aFrameNo,
XRect  aArea,
XBool  aRead,
XBool  aWrite 
)

◆ EwLockGlyph()

XGlyphLock* EwLockGlyph ( XFont aFont,
XChar  aCharCode 
)

◆ EwModifyBitmapPalette()

void EwModifyBitmapPalette ( XBitmap aBitmap,
XInt32  aIndex,
XInt32  aCount,
XColor aColors 
)

◆ EwParseAttrString()

XAttrString* EwParseAttrString ( XAttrSet aAttrSet,
XChar aString,
XInt32  aWidth,
XBool  aEnableBidiText 
)

◆ EwParseFlowString()

XString EwParseFlowString ( XFont aFont,
XChar aString,
XInt32  aWidth,
XInt32  aMaxNoOfRows,
XHandle  aBidi 
)
Here is the caller graph for this function:

◆ EwPopPathMatrix()

void EwPopPathMatrix ( XPath aPath)

◆ EwPushPathMatrix()

void EwPushPathMatrix ( XPath aPath)

◆ EwRotatePathMatrix()

void EwRotatePathMatrix ( XPath aPath,
XFloat  aAngle 
)

◆ EwScalePathMatrix()

void EwScalePathMatrix ( XPath aPath,
XFloat  aScaleX,
XFloat  aScaleY 
)

◆ EwSetAttrBitmap()

void EwSetAttrBitmap ( XAttrSet aAttrSet,
XInt32  aBitmapNo,
XBitmap aBitmap 
)

◆ EwSetAttrColor()

void EwSetAttrColor ( XAttrSet aAttrSet,
XInt32  aColorNo,
XColor  aColor 
)

◆ EwSetAttrFont()

void EwSetAttrFont ( XAttrSet aAttrSet,
XInt32  aFontNo,
XFont aFont 
)

◆ EwSetSubPathNode()

void EwSetSubPathNode ( XPath aPath,
XInt32  aSubPathNo,
XInt32  aNodeNo,
XFloat  aX,
XFloat  aY 
)

◆ EwSetUserColor()

void EwSetUserColor ( XInt32  aIndex,
XColor  aColor 
)

◆ EwShiftSubPathNodes()

XInt32 EwShiftSubPathNodes ( XPath aPath,
XInt32  aSubPathNo,
XInt32  aNoOfNodes,
XFloat  aTranslateX,
XFloat  aTranslateY 
)

◆ EwStrokePath()

void EwStrokePath ( XBitmap aDst,
XPath aPath,
XInt32  aDstFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XBool  aFlipY,
XPoint  aOffset,
XFloat  aWidth,
XUInt32  aStyle,
XFloat  aMiterLimit,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend,
XBool  aAntialiased 
)
Here is the caller graph for this function:

◆ EwTileBitmap()

void EwTileBitmap ( XBitmap aDst,
XBitmap aSrc,
XInt32  aDstFrameNo,
XInt32  aSrcFrameNo,
XRect  aClipRect,
XRect  aDstRect,
XRect  aSrcRect,
XPoint  aSrcPos,
XColor  aColorTL,
XColor  aColorTR,
XColor  aColorBR,
XColor  aColorBL,
XBool  aBlend 
)

◆ EwTranslatePathMatrix()

void EwTranslatePathMatrix ( XPath aPath,
XFloat  aDeltaX,
XFloat  aDeltaY 
)

◆ EwUnlockBitmap()

void EwUnlockBitmap ( XBitmapLock aLock)

◆ EwUnlockGlyph()

void EwUnlockGlyph ( XGlyphLock aLock)

◆ EwWarpBitmap()

void EwWarpBitmap ( XBitmap aDst,
XBitmap aSrc,
XInt32  aDstFrameNo,
XInt32  aSrcFrameNo,
XRect  aClipRect,
XFloat  aDstX1,
XFloat  aDstY1,
XFloat  aDstW1,
XFloat  aDstX2,
XFloat  aDstY2,
XFloat  aDstW2,
XFloat  aDstX3,
XFloat  aDstY3,
XFloat  aDstW3,
XFloat  aDstX4,
XFloat  aDstY4,
XFloat  aDstW4,
XRect  aSrcRect,
XColor  aColor1,
XColor  aColor2,
XColor  aColor3,
XColor  aColor4,
XBool  aBlend,
XBool  aFilter 
)
Here is the caller graph for this function:

Variable Documentation

◆ EwDiscardBitmaps

int EwDiscardBitmaps

◆ EwDiscardBitmapsIfAnimatedOnly

int EwDiscardBitmapsIfAnimatedOnly

◆ EwDiscardBitmapsIfNotUsedInCurrentUpdate

int EwDiscardBitmapsIfNotUsedInCurrentUpdate

◆ EwDiscardBitmapsIfNotUsedInRecentUpdates

int EwDiscardBitmapsIfNotUsedInRecentUpdates

◆ EwFullOffScreenBufferUpdate

int EwFullOffScreenBufferUpdate

◆ EwFullScreenUpdate

int EwFullScreenUpdate

◆ EwLazyLoadBitmaps

int EwLazyLoadBitmaps

◆ EwLazyLoadBitmapsIfAnimatedOnly

int EwLazyLoadBitmapsIfAnimatedOnly

◆ EwMaxGlyphSurfaceHeight

int EwMaxGlyphSurfaceHeight

◆ EwMaxGlyphSurfaceWidth

int EwMaxGlyphSurfaceWidth

◆ EwMaxIssueTasks

int EwMaxIssueTasks

◆ EwMaxSurfaceCacheSize

int EwMaxSurfaceCacheSize

◆ EwPreserveFramebufferContent

int EwPreserveFramebufferContent
EW_DISCARD_BITMAPS
#define EW_DISCARD_BITMAPS
Definition: ewgfxdefs.h:166
EW_MAX_SURFACE_CACHE_SIZE
#define EW_MAX_SURFACE_CACHE_SIZE
Definition: ewgfxdefs.h:89
EW_MAX_GLYPH_SURFACE_HEIGHT
#define EW_MAX_GLYPH_SURFACE_HEIGHT
Definition: ewgfxdefs.h:189
EW_LAZY_LOAD_BITMAPS
#define EW_LAZY_LOAD_BITMAPS
Definition: ewgfxdefs.h:132
EW_DISCARD_BITMAPS_IF_ANIMATED_ONLY
#define EW_DISCARD_BITMAPS_IF_ANIMATED_ONLY
Definition: ewgfxdefs.h:170
EW_MAX_ISSUE_TASKS
#define EW_MAX_ISSUE_TASKS
Definition: ewgfxdefs.h:226
EW_MAX_GLYPH_SURFACE_WIDTH
#define EW_MAX_GLYPH_SURFACE_WIDTH
Definition: ewgfxdefs.h:185