mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:37:45 +00:00
LibPDF: Replace another TODO with a message
Like ca1a98ba9f
, but for stroke color.
This commit is contained in:
parent
719b12b19d
commit
34cb506bad
1 changed files with 4 additions and 2 deletions
|
@ -563,8 +563,10 @@ RENDERER_HANDLER(set_stroking_color_extended)
|
||||||
{
|
{
|
||||||
// FIXME: Handle Pattern color spaces
|
// FIXME: Handle Pattern color spaces
|
||||||
auto last_arg = args.last();
|
auto last_arg = args.last();
|
||||||
if (last_arg.has<NonnullRefPtr<Object>>() && last_arg.get<NonnullRefPtr<Object>>()->is<NameObject>())
|
if (last_arg.has<NonnullRefPtr<Object>>() && last_arg.get<NonnullRefPtr<Object>>()->is<NameObject>()) {
|
||||||
TODO();
|
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));
|
state().stroke_color = TRY(state().stroke_color_space->color(args));
|
||||||
return {};
|
return {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue