| 57 | } |
| 58 | |
| 59 | bool LabelAtlas::initWithString(std::string_view string, |
| 60 | std::string_view charMapFile, |
| 61 | int itemWidth, |
| 62 | int itemHeight, |
| 63 | int startCharMap) |
| 64 | { |
| 65 | Texture2D* texture = _director->getTextureCache()->addImage(charMapFile); |
| 66 | return initWithString(string, texture, itemWidth, itemHeight, startCharMap); |
| 67 | } |
| 68 | |
| 69 | bool LabelAtlas::initWithString(std::string_view string, |
| 70 | Texture2D* texture, |
no test coverage detected