Mercurial > emacs
comparison src/composite.c @ 109351:c8a969d13eda
merge trunk
| author | Kenichi Handa <handa@etlken> |
|---|---|
| date | Fri, 09 Jul 2010 15:55:27 +0900 |
| parents | 8cfee7d2955f |
| children | 05e7e7c46ff0 |
comparison
equal
deleted
inserted
replaced
| 109350:c11d07f3d731 | 109351:c8a969d13eda |
|---|---|
| 1756 X-OFF and Y-OFF are offsets to the base position for the glyph. | 1756 X-OFF and Y-OFF are offsets to the base position for the glyph. |
| 1757 WADJUST is the adjustment to the normal width of the glyph. | 1757 WADJUST is the adjustment to the normal width of the glyph. |
| 1758 | 1758 |
| 1759 If GLYPH is nil, the remaining elements of the glyph-string vector | 1759 If GLYPH is nil, the remaining elements of the glyph-string vector |
| 1760 should be ignored. */) | 1760 should be ignored. */) |
| 1761 (from, to, font_object, string) | 1761 (Lisp_Object from, Lisp_Object to, Lisp_Object font_object, Lisp_Object string) |
| 1762 Lisp_Object font_object, from, to, string; | |
| 1763 { | 1762 { |
| 1764 Lisp_Object gstring, header; | 1763 Lisp_Object gstring, header; |
| 1765 EMACS_INT frompos, topos; | 1764 EMACS_INT frompos, topos; |
| 1766 | 1765 |
| 1767 CHECK_NATNUM (from); | 1766 CHECK_NATNUM (from); |
| 1802 doc: /* Internal use only. | 1801 doc: /* Internal use only. |
| 1803 | 1802 |
| 1804 Compose text in the region between START and END. | 1803 Compose text in the region between START and END. |
| 1805 Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC | 1804 Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC |
| 1806 for the composition. See `compose-region' for more details. */) | 1805 for the composition. See `compose-region' for more details. */) |
| 1807 (start, end, components, modification_func) | 1806 (Lisp_Object start, Lisp_Object end, Lisp_Object components, Lisp_Object modification_func) |
| 1808 Lisp_Object start, end, components, modification_func; | |
| 1809 { | 1807 { |
| 1810 validate_region (&start, &end); | 1808 validate_region (&start, &end); |
| 1811 if (!NILP (components) | 1809 if (!NILP (components) |
| 1812 && !INTEGERP (components) | 1810 && !INTEGERP (components) |
| 1813 && !CONSP (components) | 1811 && !CONSP (components) |
| 1823 doc: /* Internal use only. | 1821 doc: /* Internal use only. |
| 1824 | 1822 |
| 1825 Compose text between indices START and END of STRING. | 1823 Compose text between indices START and END of STRING. |
| 1826 Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC | 1824 Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC |
| 1827 for the composition. See `compose-string' for more details. */) | 1825 for the composition. See `compose-string' for more details. */) |
| 1828 (string, start, end, components, modification_func) | 1826 (Lisp_Object string, Lisp_Object start, Lisp_Object end, Lisp_Object components, Lisp_Object modification_func) |
| 1829 Lisp_Object string, start, end, components, modification_func; | |
| 1830 { | 1827 { |
| 1831 CHECK_STRING (string); | 1828 CHECK_STRING (string); |
| 1832 CHECK_NUMBER (start); | 1829 CHECK_NUMBER (start); |
| 1833 CHECK_NUMBER (end); | 1830 CHECK_NUMBER (end); |
| 1834 | 1831 |
| 1845 Sfind_composition_internal, 4, 4, 0, | 1842 Sfind_composition_internal, 4, 4, 0, |
| 1846 doc: /* Internal use only. | 1843 doc: /* Internal use only. |
| 1847 | 1844 |
| 1848 Return information about composition at or nearest to position POS. | 1845 Return information about composition at or nearest to position POS. |
| 1849 See `find-composition' for more details. */) | 1846 See `find-composition' for more details. */) |
| 1850 (pos, limit, string, detail_p) | 1847 (Lisp_Object pos, Lisp_Object limit, Lisp_Object string, Lisp_Object detail_p) |
| 1851 Lisp_Object pos, limit, string, detail_p; | |
| 1852 { | 1848 { |
| 1853 Lisp_Object prop, tail, gstring; | 1849 Lisp_Object prop, tail, gstring; |
| 1854 EMACS_INT start, end, from, to; | 1850 EMACS_INT start, end, from, to; |
| 1855 int id; | 1851 int id; |
| 1856 | 1852 |
