OHOS

    AbilityKit | | MultiMedia_AudioCapturer | | MultiMedia_CameraAbility | | MuiltiMedia_CameraDeviceCallback | | MultiMedia_CameraStateCallback | | MultiMedia_FrameConfig | | Surface | | MultiMedia_Recorder |

    Description:

    Declares functions in the CameraConfig class.

    Since:

    1.0

    Version:

    1.0

    Summary

    Data Structures

    Typedefs

    Typedef Name

    Description

    ) (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime)

    typedef int16_t(* 

    Enumerations

    Function Name

    Description

    (uint8_t langFontId)

    UITextLanguageFontParam  

    Get the Text Lang Fonts Table.

    ()

    uint8_t 

    Get the Total Lang Id.

    GetTotalFontId ()

    uint8_t 

    Get the Total Font Id.

    ()

    uint16_t 

    Get the Total Text Id.

    ()

    LangTextParam  

    Get the Lang Text default param table.

    (const Line &a, const &b, Vector2< int16_t > &out)

    bool 

    Checks whether line segment a and line segment b intersect, and returns the intersection point (if available).

    (const Line &a, const &b)

    bool 

    Chekcs whether line segment a and line segment b intersect.

    Clip ( &poly, const Line &line)

    void 

    Clips a polygon by using a line segment.

    (const Rect &clipRect, const &polygon)

    Polygon 

    Implements Sutherland-Hodgman, an algorithm used for clipping polygons.

    (const Line &line, const &poly, Vector2< int16_t > pOut, uint8_t pNum)

    void 

    Clips a polygon by using a line segment and obtains the intersections.

    (ImageInfo &info)

    void  

    Applies for the image cache memory. You can customize the memory area when loading image resources.

    (ImageInfo &info)

    void 

    Releases the image cache memory.

    (uint32_t size)

    void  

    Applies for memory for the graphics module. You can implement this function to override the malloc and new functions.

    UIFree (void *buffer)

    void 

    Releases memory for the graphics module. You can implement this function to override the free and delete functions.

    (const Vector2< int16_t > &point, int16_t angle, const < int16_t > &pivot, Vector2< int16_t > &out)

    void 

    Rotates a point around the pivot by a certain angle.

    (const Line &origLine, int16_t angle, const < int16_t > &pivot, Line &out)

    void 

    Rotates a line around the pivot by a certain angle.

    (const Rect &origRect, int16_t angle, const < int16_t > &pivot, Polygon &out)

    void 

    Rotates a rectangle around the pivot by a certain angle.

    ()

    std::string 

    Obtains the version number of the graphics module.

    GetLibDsc ()

    std::string 

    Obtains the library description of the graphics module.

    Details

    Enumeration Type Documentation

    InputDevType

    Function Documentation

    Description:

    Get the Lang default param table.

    Returns:

    LangTextParam* the param table, definition is in font tool

    GetTextLangFontsTable()

    Description:

    Get the Lang Fonts Table.

    Parameters:

    Name

    Description

    uint8_t langFontId [in] the font id

    Returns:

    UITextLanguageFontParam* the font table, definition is in font tool

    GetTotalFontId()

    Description:

    Get the Total Font Id.

    Returns:

    uint8_t the total font id, definition is in font tool

    GetTotalLangId()

    Description:

    Get the Total Lang Id.

    Returns:

    uint8_t the total Lang id, definition is in font tool

    GetTotalTextId()

      Description:

      Get the Total Id.

      Returns:

      uint8_t the total text id, definition is in font tool