#include <Font.h>
Public メソッド | |
Image () | |
Image (const Image &other) | |
Image & | operator= (const Image &other) |
bool | operator() (uint32_t x, uint32_t y) const |
void | set (boost::uint32_t i, boost::uint8_t bit) |
bool | operator[] (uint32_t i) const |
先頭から i 番目のビットを得る | |
Public 変数 | |
uint8_t | bytes [(width *height+7)/8] |
|
00056 {} |
|
00057 { 00058 memcpy( this, &other, sizeof ( Image ) ); 00059 } |
|
参照先 TinyFont::Font< Width, Height >::uint32_t.
00063 {
00064 return ( *this )[ y * width + x ];
00065 }
|
|
00060 { 00061 memcpy( this, &other, sizeof ( Image ) ); 00062 } |
|
先頭から i 番目のビットを得る
参照先 TinyFont::Font< Width, Height >::Image::bytes, と TinyFont::Font< Width, Height >::uint32_t.
00074 { 00075 return ( bytes[ i / 8 ] >> ( i % 8 ) ) & 0x1; 00076 } |
|
参照先 TinyFont::Font< Width, Height >::Image::bytes.
|
|
参照元 TinyFont::Font< Width, Height >::Image::operator[](), と TinyFont::Font< Width, Height >::Image::set(). |