projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dali-Text: Keyboard Shortcuts
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
color-segmentation.h
diff --git
a/dali-toolkit/internal/text/color-segmentation.h
b/dali-toolkit/internal/text/color-segmentation.h
index
9e52de1
..
cde9997
100644
(file)
--- a/
dali-toolkit/internal/text/color-segmentation.h
+++ b/
dali-toolkit/internal/text/color-segmentation.h
@@
-1,8
+1,8
@@
-#ifndef
__DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H__
-#define
__DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H__
+#ifndef
DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H
+#define
DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H
/*
/*
- * Copyright (c) 201
5
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
9
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-38,15
+38,23
@@
class LogicalModel;
/**
* @brief Creates color glyph runs.
*
/**
* @brief Creates color glyph runs.
*
- * @param[in] c
haracterC
olorRuns The color runs in characters (set in the mark-up string).
+ * @param[in] colorRuns The color runs in characters (set in the mark-up string).
* @param[in] charactersToGlyph Conversion table from characters to glyphs.
* @param[in] glyphsPerCharacter Table with the number of glyphs for each character.
* @param[in] charactersToGlyph Conversion table from characters to glyphs.
* @param[in] glyphsPerCharacter Table with the number of glyphs for each character.
- * @param[out] glyphColorRuns The color runs in glyphs.
+ * @param[in] startCharacterIndex The character from where the text is shaped.
+ * @param[in] startGlyphIndex The glyph from where the text is shaped.
+ * @param[in] numberOfCharacters The number of characters to be shaped.
+ * @param[out] colors The vector of colors.
+ * @param[out] colorIndices Indices to the vector of colors.
*/
*/
-void SetColorSegmentationInfo( const Vector<ColorRun>& c
haracterC
olorRuns,
+void SetColorSegmentationInfo( const Vector<ColorRun>& colorRuns,
const Vector<GlyphIndex>& charactersToGlyph,
const Vector<Length>& glyphsPerCharacter,
const Vector<GlyphIndex>& charactersToGlyph,
const Vector<Length>& glyphsPerCharacter,
- Vector<ColorGlyphRun>& glyphColorRuns );
+ CharacterIndex startCharacterIndex,
+ GlyphIndex startGlyphIndex,
+ Length numberOfCharacters,
+ Vector<Vector4>& colors,
+ Vector<ColorIndex>& colorIndices );
} // namespace Text
} // namespace Text
@@
-54,4
+62,4
@@
void SetColorSegmentationInfo( const Vector<ColorRun>& characterColorRuns,
} // namespace Dali
} // namespace Dali
-#endif //
__DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H__
+#endif //
DALI_TOOLKIT_TEXT_COLOR_SEGMENTATION_H