12 std::shared_ptr<Context> context,
13 std::shared_ptr<TypographerContext> typographer_context,
14 std::optional<std::shared_ptr<RenderTargetAllocator>>
15 render_target_allocator)
16 : context_(
std::move(context)) {
17 if (!context_ || !context_->IsValid()) {
21 content_context_ = std::make_unique<ContentContext>(
22 context_, std::move(typographer_context),
23 render_target_allocator.has_value() ? render_target_allocator.value()
25 if (!content_context_->IsValid()) {
ContentContext & GetContentContext() const
AiksContext(std::shared_ptr< Context > context, std::shared_ptr< TypographerContext > typographer_context, std::optional< std::shared_ptr< RenderTargetAllocator > > render_target_allocator=std::nullopt)
std::shared_ptr< Context > GetContext() const