提交 2ed45a11 编写于 作者: W wangtiantian

IssueNo:https://gitee.com/openharmony/graphic_ui/issues/I4AFNC

Description:delete default parameter
Sig:graphic
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nwangtiantian <wangtiantian19@huawei.com>
上级 c902cb4f
......@@ -394,7 +394,7 @@ int8_t GlyphsManager::GetBitmap(uint32_t unicode, uint8_t* bitmap, uint8_t fontI
}
const GlyphNode* node = GetGlyphNode(unicode);
uint32_t tmpBitMapSectionStart = curBitMapSectionStart_;
while ((fontId != 0) && (node != nullptr) && (node->reserve != fontId)) {
while ((node != nullptr) && (node->reserve != fontId)) {
SetCurrentFontId(fontId);
node = GetGlyphNode(unicode);
tmpBitMapSectionStart = curBitMapSectionStart_;
......
......@@ -41,7 +41,7 @@ public:
const GlyphNode* GetGlyphNode(uint32_t unicode);
int8_t GetBitmap(uint32_t unicode, uint8_t* bitmap, uint8_t fontId = 0);
int8_t GetBitmap(uint32_t unicode, uint8_t* bitmap, uint8_t fontId);
void SetRamBuffer(uintptr_t ramAddr);
......
......@@ -47,7 +47,7 @@ protected:
uint32_t GetBitmapRamUsed();
uint32_t GetDynamicFontRamUsed();
uint32_t GetRamUsedLen(uint32_t textManagerRamUsed, uint32_t langFontRamUsed);
int8_t GetDynamicFontBitmap(uint32_t unicode, uint8_t* bitmap, uint8_t fontId = 0);
int8_t GetDynamicFontBitmap(uint32_t unicode, uint8_t* bitmap, uint8_t fontId);
uint8_t* GetCacheBitmap(uint8_t fontId, uint32_t unicode);
uint8_t* GetCacheSpace(uint8_t fontId, uint32_t unicode, uint32_t size);
void PutCacheSpace(uint8_t* addr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册