mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibPDF: Rename Command to Operator
This is the correct name, according to the spec
This commit is contained in:
parent
49cb040c27
commit
468ceb1b48
5 changed files with 65 additions and 65 deletions
|
@ -9,8 +9,8 @@
|
|||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <AK/SourceLocation.h>
|
||||
#include <AK/WeakPtr.h>
|
||||
#include <LibPDF/Command.h>
|
||||
#include <LibPDF/Object.h>
|
||||
#include <LibPDF/Operator.h>
|
||||
#include <LibPDF/Reader.h>
|
||||
#include <LibPDF/XRefTable.h>
|
||||
|
||||
|
@ -25,7 +25,7 @@ public:
|
|||
Linearized,
|
||||
};
|
||||
|
||||
static PDFErrorOr<Vector<Command>> parse_graphics_commands(Document*, ReadonlyBytes);
|
||||
static PDFErrorOr<Vector<Operator>> parse_operators(Document*, ReadonlyBytes);
|
||||
|
||||
Parser(Document*, ReadonlyBytes);
|
||||
|
||||
|
@ -115,7 +115,7 @@ private:
|
|||
PDFErrorOr<NonnullRefPtr<DictObject>> parse_dict();
|
||||
PDFErrorOr<NonnullRefPtr<StreamObject>> parse_stream(NonnullRefPtr<DictObject> dict);
|
||||
|
||||
PDFErrorOr<Vector<Command>> parse_graphics_commands();
|
||||
PDFErrorOr<Vector<Operator>> parse_operators();
|
||||
|
||||
void push_reference(Reference const& ref) { m_current_reference_stack.append(ref); }
|
||||
void pop_reference() { m_current_reference_stack.take_last(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue