mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibPDF: Replace another TODO with a message
Like ca1a98ba9f
, but for stroke color.
This commit is contained in:
parent
719b12b19d
commit
34cb506bad
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/34cb506bad Pull-request: https://github.com/SerenityOS/serenity/pull/21525
1 changed files with 4 additions and 2 deletions
|
@ -563,8 +563,10 @@ RENDERER_HANDLER(set_stroking_color_extended)
|
|||
{
|
||||
// FIXME: Handle Pattern color spaces
|
||||
auto last_arg = args.last();
|
||||
if (last_arg.has<NonnullRefPtr<Object>>() && last_arg.get<NonnullRefPtr<Object>>()->is<NameObject>())
|
||||
TODO();
|
||||
if (last_arg.has<NonnullRefPtr<Object>>() && last_arg.get<NonnullRefPtr<Object>>()->is<NameObject>()) {
|
||||
dbgln("pattern space {}", last_arg.get<NonnullRefPtr<Object>>()->cast<NameObject>()->name());
|
||||
return Error::rendering_unsupported_error("Pattern color spaces not yet implemented");
|
||||
}
|
||||
|
||||
state().stroke_color = TRY(state().stroke_color_space->color(args));
|
||||
return {};
|
||||
|
|
Loading…
Add table
Reference in a new issue