97b8365caf
From-SVN: r120621
55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __java_awt_font_GraphicAttribute__
|
|
#define __java_awt_font_GraphicAttribute__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
extern "Java"
|
|
{
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
class Graphics2D;
|
|
namespace font
|
|
{
|
|
class GlyphJustificationInfo;
|
|
class GraphicAttribute;
|
|
}
|
|
namespace geom
|
|
{
|
|
class Rectangle2D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class java::awt::font::GraphicAttribute : public ::java::lang::Object
|
|
{
|
|
|
|
public: // actually protected
|
|
GraphicAttribute(jint);
|
|
public:
|
|
virtual void draw(::java::awt::Graphics2D *, jfloat, jfloat) = 0;
|
|
virtual jfloat getAdvance() = 0;
|
|
virtual jfloat getAscent() = 0;
|
|
virtual jfloat getDescent() = 0;
|
|
virtual jint getAlignment();
|
|
virtual ::java::awt::geom::Rectangle2D * getBounds();
|
|
virtual ::java::awt::font::GlyphJustificationInfo * getJustificationInfo();
|
|
static const jint BOTTOM_ALIGNMENT = -2;
|
|
static const jint CENTER_BASELINE = 1;
|
|
static const jint HANGING_BASELINE = 2;
|
|
static const jint ROMAN_BASELINE = 0;
|
|
static const jint TOP_ALIGNMENT = -1;
|
|
private:
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) alignment;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __java_awt_font_GraphicAttribute__
|