Remove whitespace lines
This commit is contained in:
@@ -13,38 +13,38 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
|
||||
unsigned long codepoint;
|
||||
size_t size;
|
||||
int index;
|
||||
int height;
|
||||
|
||||
|
||||
} GlyphInfo;
|
||||
|
||||
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
|
||||
uint32_t index;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t x;
|
||||
uint32_t y;
|
||||
unsigned char data;
|
||||
|
||||
|
||||
} GlyphImage;
|
||||
|
||||
|
||||
|
||||
|
||||
class Font {
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Font (Resource *resource, int faceIndex = 0);
|
||||
~Font ();
|
||||
|
||||
|
||||
value Decompose (int em);
|
||||
int GetAscender ();
|
||||
int GetDescender ();
|
||||
@@ -60,18 +60,18 @@ namespace lime {
|
||||
int RenderGlyph (int index, Bytes *bytes, int offset = 0);
|
||||
int RenderGlyphs (value indices, Bytes *bytes);
|
||||
void SetSize (size_t size);
|
||||
|
||||
|
||||
void* library;
|
||||
void* face;
|
||||
void* faceMemory;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
size_t mSize;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user