Gnash  0.8.11dev
DefineFontAlignZonesTag.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 
20 #ifndef GNASH_SWF_DEFINEFONTALIGNZONESTAG_H
21 #define GNASH_SWF_DEFINEFONTALIGNZONESTAG_H
22 
23 #include "SWF.h"
24 
25 // Forward declarations
26 namespace gnash {
27  class movie_definition;
28  class SWFStream;
29  class RunResources;
30 }
31 
32 namespace gnash {
33 namespace SWF {
34 
36 {
37 public:
38 
39  enum {
40  THIN = 0,
41  MEDIUM = 1,
42  THICK = 2
43  };
44 
45 
46  static void loader(SWFStream& in, TagType tag, movie_definition& m,
47  const RunResources& r);
48 
49 private:
50 
52  //
55 };
56 
57 } // namespace gnash::SWF
58 } // namespace gnash
59 
60 
61 #endif // GNASH_SWF_DEFINEFONTALIGNZONESTAG_H
62 
63 
64 // Local Variables:
65 // mode: C++
66 // indent-tabs-mode: t
67 // End:
gnash::SWFStream::skip_to_tag_end
void skip_to_tag_end()
Discard all bytes up to end of tag.
Definition: SWFStream.h:354
gnash::log_swferror
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
gnash::SWF::TagType
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
DefineFontAlignZonesTag.h
gnash::key::i
@ i
Definition: GnashKey.h:155
LOG_ONCE
#define LOG_ONCE(x)
Definition: log.h:49
_
#define _(String)
Definition: log.h:44
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::key::m
@ m
Definition: GnashKey.h:159
gnash::SWF::DefineFontAlignZonesTag::THIN
@ THIN
Definition: DefineFontAlignZonesTag.h:40
gnash::Font::glyphCount
GlyphInfoRecords::size_type glyphCount() const
Retrieve the number of embedded glyphs in this font.
Definition: Font.cpp:136
gnash::movie_definition
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
IF_VERBOSE_MALFORMED_SWF
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
gnash::SWF::DefineFontAlignZonesTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineFontAlignZonesTag.cpp:40
gnash::SWF::DefineFontAlignZonesTag
Definition: DefineFontAlignZonesTag.h:36
gnash::key::r
@ r
Definition: GnashKey.h:164
Font.h
gnash::RunResources
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
gnash::key::j
@ j
Definition: GnashKey.h:156
gnash::SWF::DEFINEALIGNZONES
@ DEFINEALIGNZONES
Definition: SWF.h:103
IF_VERBOSE_PARSE
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
gnash::log_parse
void log_parse(StringType msg, Args... args)
Definition: log.h:313
log.h
gnash::Font
A Font resource.
Definition: Font.h:90
SWF.h
gnash::SWFStream::read_u16
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
RunResources.h
gnash::SWFStream::read_u8
std::uint8_t read_u8()
Read a aligned unsigned 8-bit value from the stream.
Definition: SWFStream.cpp:319
movie_definition.h
gnash::SWF::DefineFontAlignZonesTag::THICK
@ THICK
Definition: DefineFontAlignZonesTag.h:42
gnash::SWF::DefineFontAlignZonesTag::MEDIUM
@ MEDIUM
Definition: DefineFontAlignZonesTag.h:41
gnash::SWFStream
SWF stream wrapper class.
Definition: SWFStream.h:59
gnash::SWFStream::ensureBytes
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag.
Definition: SWFStream.cpp:50
gnash::key::SWF
@ SWF
Definition: GnashKey.h:331
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
gnash::key::u
@ u
Definition: GnashKey.h:167
SWFStream.h