mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:57:34 +00:00
LibPDF: Add a few FIXMEs to set_graphics_state_from_dict
This commit is contained in:
parent
9283c939bb
commit
6caaffa134
1 changed files with 26 additions and 0 deletions
|
@ -695,6 +695,8 @@ Gfx::Rect<T> Renderer::map(Gfx::Rect<T> rect) const
|
||||||
|
|
||||||
PDFErrorOr<void> Renderer::set_graphics_state_from_dict(NonnullRefPtr<DictObject> dict)
|
PDFErrorOr<void> Renderer::set_graphics_state_from_dict(NonnullRefPtr<DictObject> dict)
|
||||||
{
|
{
|
||||||
|
// ISO 32000 (PDF 2.0), 8.4.5 Graphics state parameter dictionaries
|
||||||
|
|
||||||
if (dict->contains(CommonNames::LW))
|
if (dict->contains(CommonNames::LW))
|
||||||
TRY(handle_set_line_width({ dict->get_value(CommonNames::LW) }));
|
TRY(handle_set_line_width({ dict->get_value(CommonNames::LW) }));
|
||||||
|
|
||||||
|
@ -712,9 +714,33 @@ PDFErrorOr<void> Renderer::set_graphics_state_from_dict(NonnullRefPtr<DictObject
|
||||||
TRY(handle_set_dash_pattern(array->elements()));
|
TRY(handle_set_dash_pattern(array->elements()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: RI
|
||||||
|
// FIXME: OP
|
||||||
|
// FIXME: op
|
||||||
|
// FIXME: OPM
|
||||||
|
// FIXME: Font
|
||||||
|
// FIXME: BG
|
||||||
|
// FIXME: BG2
|
||||||
|
// FIXME: UCR
|
||||||
|
// FIXME: UCR2
|
||||||
|
// FIXME: TR
|
||||||
|
// FIXME: TR2
|
||||||
|
// FIXME: HT
|
||||||
|
|
||||||
if (dict->contains(CommonNames::FL))
|
if (dict->contains(CommonNames::FL))
|
||||||
TRY(handle_set_flatness_tolerance({ dict->get_value(CommonNames::FL) }));
|
TRY(handle_set_flatness_tolerance({ dict->get_value(CommonNames::FL) }));
|
||||||
|
|
||||||
|
// FIXME: SM
|
||||||
|
// FIXME: SA
|
||||||
|
// FIXME: BM
|
||||||
|
// FIXME: SMask
|
||||||
|
// FIXME: CA
|
||||||
|
// FIXME: ca
|
||||||
|
// FIXME: AIS
|
||||||
|
// FIXME: TK
|
||||||
|
// FIXME: UseBlackPtComp
|
||||||
|
// FIXME: HTO
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue