Original blits, and that no blit covers two vertical areas. We assume that there are a discrete set of vertical areas that divide the That meansĪdding borders on the left and right of each line of blits. Given a list of blits, adjusts it for the given outline size. # True when the blit is in the top or bottom row. # True when the blit contains the left or right side of its row. This is a rectangle with an associated alpha.ĭef _init_( self, x, y, w, h, alpha = 1.0, left = False, right = False, top = False, bottom = False): Represents a blit command, which can be used to render a texture to a textsupport as textsupportįrom _renpybidi import log2vis, WRTL, RTL, ON # = - 65536 textsupport import TAG, TEXT, PARAGRAPH, DISPLAYABLE compat import PY2, basestring, bchr, bord, chr, open, pystr, range, round, str, tobytes, unicode # *įrom typing import Any, Optional, Callableįrom renpy. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.įrom _future_ import division, absolute_import, with_statement, print_function, unicode_literalsįrom renpy. # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # included in all copies or substantial portions of the Software. # The above copyright notice and this permission notice shall be # and to permit persons to whom the Software is furnished to do so, # publish, distribute, sublicense, and/or sell copies of the Software, # including without limitation the rights to use, copy, modify, merge, # (the "Software"), to deal in the Software without restriction, # obtaining a copy of this software and associated documentation files # Permission is hereby granted, free of charge, to any person BASELINE Constant Blit Class _init_ Function _repr_ Function outline_blits Function DrawInfo Class TextSegment Class _init_ Function _repr_ Function take_style Function glyphs Function draw Function assign_times Function subsegment Function bounds Function SpaceSegment Class _init_ Function glyphs Function bounds Function draw Function assign_times Function DisplayableSegment Class _init_ Function glyphs Function draw Function assign_times Function bounds Function FlagSegment Class glyphs Function draw Function assign_times Function bounds Function Layout Class _init_ Function find_baseline Function make_alignment_grid Function scale Function scale_int Function scale_outline Function unscale_pair Function segment Function push Function fill_empty_line Function thaic90_paragraph Function rtl_paragraph Function figure_outlines Function blits_typewriter Function redraw_typewriter Function LAYOUT_CACHE_SIZE Constant layout_cache_old Constant layout_cache_new Constant virtual_layout_cache_old Constant virtual_layout_cache_new Constant layout_cache_clear Function slow_text Constant text_tick Function VERT_REVERSE Constant VERT_FORWARD Constant Text Class after_upgrade Function _init_ Function _duplicate Function _in_current_store Function _repr_info Function get_all_text Function _scope Function set_text Function per_interact Function set_ctc Function set_last_ctc Function update Function visit Function _tts Function kill_layout Function get_layout Function get_virtual_layout Function set_style_prefix Function get_placement Function focus Function unfocus Function hyperlink_sensitive Function event Function size Function get_time Function render Function tokenize Function apply_custom_tags Function get_displayables Function language_tailor Constant ParameterizedText Constant
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |