mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
ImageDecoder: Add plumbing to allow a client to request an ideal size
This is only used for vector graphics format where requesting the true displayed size leads to visual enhancement.
This commit is contained in:
parent
4c23f0e142
commit
e56eb11dee
7 changed files with 13 additions and 13 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
private:
|
||||
explicit ConnectionFromClient(NonnullOwnPtr<Core::LocalSocket>);
|
||||
|
||||
virtual Messages::ImageDecoderServer::DecodeImageResponse decode_image(Core::AnonymousBuffer const&, Optional<ByteString> const& mime_type) override;
|
||||
virtual Messages::ImageDecoderServer::DecodeImageResponse decode_image(Core::AnonymousBuffer const&, Optional<Gfx::IntSize> const& ideal_size, Optional<ByteString> const& mime_type) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue