12#pragma push_macro("None")
814#pragma pop_macro("None")
#define UExport
Definition Exports.h:22
Unicode string container with conversions for UTF-8, UTF-16, and UTF-32.
Definition String.h:31
Root namespace for every public Ultralight type, function, and enumeration.
FaceWinding
The winding order for front-facing triangles.
Definition Config.h:20
@ CounterClockwise
Counter-Clockwise Winding (OpenGL, etc.).
Definition Config.h:29
@ Clockwise
Clockwise Winding (Direct3D, etc.).
Definition Config.h:24
@ Light
Always use the light look.
Definition Window.h:67
DiagnosticsLevel
How much checking and warning the library does for mistakes made through one of its APIs.
Definition DiagnosticsLevel.h:18
@ Auto
Warn when DiagnosticsConfig::developer_mode is on, Off when it's off.
Definition DiagnosticsLevel.h:39
LogLevel
The severity of a log message, from most to least severe.
Definition Logger.h:16
@ Info
Status information.
Definition Logger.h:36
FontProfile
The font-appearance preset that provides default values for the text rendering knobs (Config::font_bl...
Definition Config.h:75
@ MacOSLike
Text with the weight and sharpness of Safari and other macOS applications.
Definition Config.h:84
@ WindowsLike
Text with the crisp, moderate weight of mainstream browsers on Windows.
Definition Config.h:89
@ Default
The standard appearance– currently the same as WindowsLike.
Definition Config.h:79
@ Normal
Neither minimized nor maximized.
Definition Window.h:123
PixelFontRendering
How the library renders pixel fonts.
Definition Config.h:134
@ Pixelated
Keep pixel fonts crisp– hard pixel edges with every glyph on a whole device pixel.
Definition Config.h:154
MemoryProfile
Memory vs.
Definition Config.h:202
@ LowMemory
Optimize for low memory footprint at some cost to peak throughput.
Definition Config.h:217
@ Performance
Optimize for peak throughput at the cost of a higher steady-state memory footprint.
Definition Config.h:225
@ Balanced
Sensible default.
Definition Config.h:208
EffectQuality
The quality level for rendering effects (CSS filters, shadows, blurs, etc.).
Definition Config.h:165
@ Low
Fastest effect quality.
Definition Config.h:170
@ High
Highest effect quality– favors quality over performance.
Definition Config.h:183
@ Medium
Default effect quality– strikes a good balance between quality and performance.
Definition Config.h:175
@ None
Definition Anchor.h:36
MediaProfile
Memory vs.
Definition Config.h:247
@ FavorMemory
Optimise for low memory footprint at the cost of some smoothness and seek responsiveness.
Definition Config.h:262
@ Balanced
Sensible default.
Definition Config.h:254
@ FavorPerformance
Optimise for the smoothest playback and snappiest seeking, at the cost of higher peak memory per medi...
Definition Config.h:270
FontBlendMode
How antialiased glyph edges are blended into the page.
Definition Config.h:102
@ SRGB
Blend in sRGB space– edges keep their full coverage (how macOS composites text).
Definition Config.h:117
@ GammaCorrected
Gamma-corrected blending– edges read lighter with more contrast (how browsers on Windows composite te...
Definition Config.h:112
@ Profile
Use the value from the font profile.
Definition Config.h:106
FontHinting
The font hinting algorithm to use when rendering glyphs.
Definition Config.h:37
@ Monochrome
Strongest hinting algorithm– outputs only black/white glyphs.
Definition Config.h:59
@ Normal
Let the font profile choose– Config::font_profile picks the hinting that suits its appearance,...
Definition Config.h:50
@ Smooth
Lighter hinting algorithm– glyphs are slightly fuzzier but better resemble their original shape.
Definition Config.h:43
@ Default
The platform's usual corners for this kind of window.
Definition Window.h:138
Core configuration for the renderer.
Definition Config.h:336
MediaProfile media_profile
The memory-vs-performance profile for the HTML5 media subsystem.
Definition Config.h:808
String cache_path
A writable OS file path to store persistent Session data in.
Definition Config.h:346
bool enable_photon
Whether or not GPU-accelerated Views render vector content (path fills and strokes) analytically (Pho...
Definition Config.h:514
uint32_t override_ram_size
The system's physical RAM size in bytes.
Definition Config.h:666
String user_stylesheet
Global user-defined CSS string (included before any CSS on the page).
Definition Config.h:495
double idle_gc_idle_time
How long (in seconds) a page must be idle, with no user input, before automatic idle collection begin...
Definition Config.h:622
MemoryProfile memory_profile
Memory vs.
Definition Config.h:655
bool force_repaint
Whether or not to continuously repaint any Views, regardless if they are dirty.
Definition Config.h:502
PixelFontRendering pixel_font_rendering
How pixel fonts are rendered.
Definition Config.h:456
double recycle_delay
The interval (in seconds) at which the library automatically recycles internal caches and reclaims me...
Definition Config.h:580
bool ignore_ssl_errors
Whether to ignore SSL certificate errors when using the curl network backend.
Definition Config.h:749
bool snap_pixel_font_size
Whether or not to adjust the used size of pixel fonts so each font pixel covers a whole number of dev...
Definition Config.h:486
uint32_t max_heap_size
A soft target for the total JavaScriptCore heap size, in bytes.
Definition Config.h:693
uint32_t page_cache_size
The number of pages to keep in the cache.
Definition Config.h:646
double font_stem_darkening
Stem-darkening strength for rendered text.
Definition Config.h:433
double font_embolden
Extra stroke weight applied to glyph shapes, as a fraction of the font size (eg, 0....
Definition Config.h:449
double page_settle_tick
How often (in seconds) the library samples a loading page for idleness.
Definition Config.h:565
bool use_system_certificate_store
Whether to validate TLS server certificates against the operating system's certificate store instead ...
Definition Config.h:764
bool idle_gc_enabled
Whether the library automatically collects garbage and returns freed memory to the OS without embedde...
Definition Config.h:610
bool enable_photon_text
Whether or not text and color emoji also render analytically when enable_photon is enabled (see photo...
Definition Config.h:527
uint32_t resource_sample_interval
The interval (in milliseconds) at which the library samples and emits resource counters (memory usage...
Definition Config.h:786
double font_contrast
Additional contrast enhancement applied when compositing font glyphs.
Definition Config.h:422
EffectQuality effect_quality
The quality of effects (blurs, CSS filters, SVG filters, etc.) to use when rendering.
Definition Config.h:738
uint32_t photon_text_min_px
The minimum on-screen glyph size, in pixels, at which text renders analytically when enable_photon_te...
Definition Config.h:536
bool paint_full_layers
Whether to paint full layers when dirty instead of just the dirty subregion.
Definition Config.h:776
double page_settle_delay
Additional delay (in seconds) on top of the engine's internal page-settled detection.
Definition Config.h:548
FaceWinding face_winding
The winding order for front-facing triangles.
Definition Config.h:367
double font_gamma
The gamma to use when compositing font glyphs.
Definition Config.h:411
double max_update_time
The max amount of time (in seconds) to allow repeating timers to run during each call to Renderer::Up...
Definition Config.h:711
DiagnosticsConfig diagnostics
Diagnostics and logging options (developer mode, diagnostics levels, and the minimum log level).
Definition Config.h:794
uint32_t min_large_heap_size
The minimum size of large VM heaps in JavaScriptCore.
Definition Config.h:675
FontHinting font_hinting
The hinting algorithm to use when rendering fonts.
Definition Config.h:384
uint32_t memory_cache_size
The maximum size of the library's memory cache in bytes.
Definition Config.h:631
uint32_t min_small_heap_size
The minimum size of small VM heaps in JavaScriptCore.
Definition Config.h:682
FontBlendMode font_blend_mode
How antialiased glyph edges are blended into the page.
Definition Config.h:401
unsigned page_settle_cycles
The number of consecutive idle samples the library requires before it declares a page settled.
Definition Config.h:558
uint32_t bitmap_row_alignment
The row alignment (in bytes) of the BitmapSurface when using the CPU renderer.
Definition Config.h:728
String resource_path_prefix
The relative path to the resources folder (loaded via the FileSystem API).
Definition Config.h:358
uint32_t num_renderer_threads
The number of threads to use in the Renderer (for parallel painting on the CPU, etc....
Definition Config.h:703
FontProfile font_profile
The font-appearance preset providing default values for the text rendering knobs below (font_blend_mo...
Definition Config.h:394
Diagnostics and logging options.
Definition Config.h:280
bool developer_mode
Whether or not the library runs in developer mode.
Definition Config.h:291
DiagnosticsLevel dom
The diagnostics level for the DOM API and data bindings.
Definition Config.h:302
DiagnosticsLevel javascript
The diagnostics level for JavaScript APIs that leave their own level at DiagnosticsLevel::Auto.
Definition Config.h:297
LogLevel min_log_level
The least severe level the library sends to the Logger (less severe messages are dropped).
Definition Config.h:310