12#pragma push_macro("None")
734#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:72
@ MacOSLike
Text with the weight and sharpness of Safari and other macOS applications.
Definition Config.h:81
@ WindowsLike
Text with the crisp, moderate weight of mainstream browsers on Windows.
Definition Config.h:86
@ Default
The standard appearance– currently the same as WindowsLike.
Definition Config.h:76
@ Normal
Neither minimized nor maximized.
Definition Window.h:123
MemoryProfile
Memory vs.
Definition Config.h:162
@ LowMemory
Optimize for low memory footprint at some cost to peak throughput.
Definition Config.h:177
@ Performance
Optimize for peak throughput at the cost of a higher steady-state memory footprint.
Definition Config.h:185
@ Balanced
Sensible default.
Definition Config.h:168
EffectQuality
The quality level for rendering effects (CSS filters, shadows, blurs, etc.).
Definition Config.h:125
@ Low
Fastest effect quality.
Definition Config.h:130
@ High
Highest effect quality– favors quality over performance.
Definition Config.h:143
@ Medium
Default effect quality– strikes a good balance between quality and performance.
Definition Config.h:135
@ None
Definition Anchor.h:36
MediaProfile
Memory vs.
Definition Config.h:207
@ FavorMemory
Optimise for low memory footprint at the cost of some smoothness and seek responsiveness.
Definition Config.h:222
@ Balanced
Sensible default.
Definition Config.h:214
@ FavorPerformance
Optimise for the smoothest playback and snappiest seeking, at the cost of higher peak memory per medi...
Definition Config.h:230
FontBlendMode
How antialiased glyph edges are blended into the page.
Definition Config.h:99
@ SRGB
Blend in sRGB space– edges keep their full coverage (how macOS composites text).
Definition Config.h:114
@ GammaCorrected
Gamma-corrected blending– edges read lighter with more contrast (how browsers on Windows composite te...
Definition Config.h:109
@ Profile
Use the value from the font profile.
Definition Config.h:103
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:56
@ 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:296
MediaProfile media_profile
The memory-vs-performance profile for the HTML5 media subsystem.
Definition Config.h:728
String cache_path
A writable OS file path to store persistent Session data in.
Definition Config.h:306
bool enable_photon
Whether or not GPU-accelerated Views render vector content (path fills and strokes) analytically (Pho...
Definition Config.h:425
uint32_t override_ram_size
The system's physical RAM size in bytes.
Definition Config.h:577
String user_stylesheet
Global user-defined CSS string (included before any CSS on the page).
Definition Config.h:406
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:533
MemoryProfile memory_profile
Memory vs.
Definition Config.h:566
bool force_repaint
Whether or not to continuously repaint any Views, regardless if they are dirty.
Definition Config.h:413
double recycle_delay
The interval (in seconds) at which the library automatically recycles internal caches and reclaims me...
Definition Config.h:491
bool ignore_ssl_errors
Whether to ignore SSL certificate errors when using the curl network backend.
Definition Config.h:669
uint32_t max_heap_size
A soft target for the total JavaScriptCore heap size, in bytes.
Definition Config.h:604
uint32_t page_cache_size
The number of pages to keep in the cache.
Definition Config.h:557
double font_stem_darkening
Stem-darkening strength for rendered text.
Definition Config.h:386
double font_embolden
Extra stroke weight applied to glyph shapes, as a fraction of the font size (eg, 0....
Definition Config.h:397
double page_settle_tick
How often (in seconds) the library samples a loading page for idleness.
Definition Config.h:476
bool use_system_certificate_store
Whether to validate TLS server certificates against the operating system's certificate store instead ...
Definition Config.h:684
bool idle_gc_enabled
Whether the library automatically collects garbage and returns freed memory to the OS without embedde...
Definition Config.h:521
bool enable_photon_text
Whether or not text and color emoji also render analytically when enable_photon is enabled (see photo...
Definition Config.h:438
uint32_t resource_sample_interval
The interval (in milliseconds) at which the library samples and emits resource counters (memory usage...
Definition Config.h:706
double font_contrast
Additional contrast enhancement applied when compositing font glyphs.
Definition Config.h:375
EffectQuality effect_quality
The quality of effects (blurs, CSS filters, SVG filters, etc.) to use when rendering.
Definition Config.h:658
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:447
bool paint_full_layers
Whether to paint full layers when dirty instead of just the dirty subregion.
Definition Config.h:696
double page_settle_delay
Additional delay (in seconds) on top of the engine's internal page-settled detection.
Definition Config.h:459
FaceWinding face_winding
The winding order for front-facing triangles.
Definition Config.h:327
double font_gamma
The gamma to use when compositing font glyphs.
Definition Config.h:364
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:631
DiagnosticsConfig diagnostics
Diagnostics and logging options (developer mode, diagnostics levels, and the minimum log level).
Definition Config.h:714
uint32_t min_large_heap_size
The minimum size of large VM heaps in JavaScriptCore.
Definition Config.h:586
FontHinting font_hinting
The hinting algorithm to use when rendering fonts.
Definition Config.h:337
uint32_t memory_cache_size
The maximum size of the library's memory cache in bytes.
Definition Config.h:542
uint32_t bitmap_alignment
The alignment (in bytes) of the BitmapSurface when using the CPU renderer.
Definition Config.h:648
uint32_t min_small_heap_size
The minimum size of small VM heaps in JavaScriptCore.
Definition Config.h:593
FontBlendMode font_blend_mode
How antialiased glyph edges are blended into the page.
Definition Config.h:354
unsigned page_settle_cycles
The number of consecutive idle samples the library requires before it declares a page settled.
Definition Config.h:469
String resource_path_prefix
The relative path to the resources folder (loaded via the FileSystem API).
Definition Config.h:318
uint32_t num_renderer_threads
The number of threads to use in the Renderer (for parallel painting on the CPU, etc....
Definition Config.h:623
FontProfile font_profile
The font-appearance preset providing default values for the text rendering knobs below (font_blend_mo...
Definition Config.h:347
Diagnostics and logging options.
Definition Config.h:240
bool developer_mode
Whether or not the library runs in developer mode.
Definition Config.h:251
DiagnosticsLevel dom
The diagnostics level for the DOM API and data bindings.
Definition Config.h:262
DiagnosticsLevel javascript
The diagnostics level for JavaScript APIs that leave their own level at DiagnosticsLevel::Auto.
Definition Config.h:257
LogLevel min_log_level
The least severe level the library sends to the Logger (less severe messages are dropped).
Definition Config.h:270