Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_gif.cpp
Go to the documentation of this file.
1// Copyright 2014 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "core/fxcodec/gif/cfx_gif.h"
8
9const char kGifSignature87[] = "GIF87a";
10const char kGifSignature89[] = "GIF89a";
11
12static_assert(sizeof(CFX_GifGlobalFlags) == 1,
13 "CFX_GifGlobalFlags should have a size of 1");
14static_assert(sizeof(CFX_GifLocalFlags) == 1,
15 "CFX_GifLocalFlags should have a size of 1");
16static_assert(sizeof(CFX_GifHeader) == 6,
17 "CFX_GifHeader should have a size of 6");
18static_assert(sizeof(CFX_GifLocalScreenDescriptor) == 7,
19 "CFX_GifLocalScreenDescriptor should have a size of 7");
20static_assert(sizeof(CFX_GifImageInfo) == 9,
21 "CFX_GifImageInfo should have a size of 9");
22static_assert(sizeof(CFX_GifControlExtensionFlags) == 1,
23 "CFX_GifControlExtensionFlags should have a size of 1");
24static_assert(sizeof(CFX_GifPlainTextExtension) == 13,
25 "CFX_GifPlainTextExtension should have a size of 13");
26static_assert(sizeof(CFX_GifGraphicControlExtension) == 5,
27 "CFX_GifGraphicControlExtension should have a size of 5");
28static_assert(sizeof(GifApplicationExtension) == 12,
29 "GifApplicationExtension should have a size of 12");
30static_assert(sizeof(CFX_GifPalette) == 3,
31 "CFX_GifPalette should have a size of 3");
32
33CFX_GifImage::CFX_GifImage() = default;
34
35CFX_GifImage::~CFX_GifImage() = default;
const char kGifSignature87[]
Definition cfx_gif.cpp:9
const char kGifSignature89[]
Definition cfx_gif.cpp:10