mGPlus API Reference  v1.4.0
A MiniGUI component which provides support for advanced 2D graphics functions
Functions
Render Mode

Functions

MGPLUS_EXPORT MPStatus MGPlusGetSmoothingMode (HGRAPHICS graphics, MPSmoothingMode *value)
 Set the smoothing mode of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusSetSmoothingMode (HGRAPHICS graphics, MPSmoothingMode value)
 Set the smoothing mode of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusSetPathRenderingHint (HGRAPHICS graphics, MPPathRenderingHint value)
 Set the path anti-alias value of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusGetPathRenderingHint (HGRAPHICS graphics, MPPathRenderingHint *value)
 Get the path anti-alias value of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusSetTextRenderingHint (HGRAPHICS graphics, MPTextRenderingHint value)
 Set the text rendering mode of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusGetTextRenderingHint (HGRAPHICS graphics, MPTextRenderingHint *value)
 Get the text rendering mode of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusSetInterpolationMode (HGRAPHICS graphics, MPInterpolationMode mode)
 Set the interpolation mode of graphic. More...
 
MGPLUS_EXPORT MPStatus MGPlusGetInterpolationMode (HGRAPHICS graphics, MPInterpolationMode *mode)
 Get the interpolation mode of graphic. More...
 

Detailed Description

MGPlus maintains some rendermode defines and operations

Function Documentation

MPStatus MGPlusGetInterpolationMode ( HGRAPHICS  graphics,
MPInterpolationMode value 
)

Get the interpolation mode of graphic.

This function gets the interpolation mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe interpolation mode pointer.
Returns
Get Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusSetInterpolationMode
MPStatus MGPlusGetPathRenderingHint ( HGRAPHICS  graphics,
MPPathRenderingHint value 
)

Get the path anti-alias value of graphic.

This function gets the path anti-alias value of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe path anti-alias value pointer.
Returns
Get Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusSetPathRenderingHint
MPStatus MGPlusGetSmoothingMode ( HGRAPHICS  graphics,
MPSmoothingMode value 
)

Set the smoothing mode of graphic.

This function gets the smoothing mode.

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe smoothing mode.
Returns
Set Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusSetSmoothingMode
MPStatus MGPlusGetTextRenderingHint ( HGRAPHICS  graphics,
MPTextRenderingHint value 
)

Get the text rendering mode of graphic.

This function gets the text rendering mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe text rendering mode pointer.
Returns
Get Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusSetTextRenderingHint
MPStatus MGPlusSetInterpolationMode ( HGRAPHICS  graphics,
MPInterpolationMode  value 
)

Set the interpolation mode of graphic.

This function sets the interpolation mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe interpolation mode.
Returns
Get Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusGetInterpolationMode
MPStatus MGPlusSetPathRenderingHint ( HGRAPHICS  graphics,
MPPathRenderingHint  value 
)

Set the path anti-alias value of graphic.

This function gets the compositing mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe anti-alias value.
Returns
Set Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusGetPathRenderingHint
MPStatus MGPlusSetSmoothingMode ( HGRAPHICS  graphics,
MPSmoothingMode  smoothingMode 
)

Set the smoothing mode of graphic.

This function sets the smoothing mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
smoothingModeThe smoothing mode .
Returns
Set Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusGetSmoothingMode
MPStatus MGPlusSetTextRenderingHint ( HGRAPHICS  graphics,
MPTextRenderingHint  value 
)

Set the text rendering mode of graphic.

This function sets the text rendering mode of graphic

Parameters
graphicsThe MGPlusGraphics pointer.
valueThe text rendering mode.
Returns
Get Status, MP_GENERIC_ERROR indicates an error.
See also
MGPlusGetTextRenderingHint