Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenfont/intern/blf_internal_types.h
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| BLI_INLINE ft_pix ft_pix_round_advance(ft_pix v, ft_pix step) | BLI_INLINE ft_pix ft_pix_round_advance(ft_pix v, ft_pix step) | ||||
| { | { | ||||
| /* See #USE_LEGACY_SPACING, rounding logic could change here. */ | /* See #USE_LEGACY_SPACING, rounding logic could change here. */ | ||||
| return FT_PIX_DEFAULT_ROUNDING(v) + FT_PIX_DEFAULT_ROUNDING(step); | return FT_PIX_DEFAULT_ROUNDING(v) + FT_PIX_DEFAULT_ROUNDING(step); | ||||
| } | } | ||||
| #undef FT_PIX_FLOOR | |||||
| #undef FT_PIX_ROUND | #undef FT_PIX_ROUND | ||||
| #undef FT_PIX_CEIL | #undef FT_PIX_CEIL | ||||
| #undef FT_PIX_DEFAULT_ROUNDING | #undef FT_PIX_DEFAULT_ROUNDING | ||||
| /** \} */ | /** \} */ | ||||
| #define BLF_BATCH_DRAW_LEN_MAX 2048 /* in glyph */ | #define BLF_BATCH_DRAW_LEN_MAX 2048 /* in glyph */ | ||||
| ▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines | |||||