Package ch.bailu.gtk.cairo
Klasse Context
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.cairo.Context
- Alle implementierten Schnittstellen:
PointerInterface
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
arc
(double xc, double yc, double radius, double angle1, double angle2) void
clip()
void
void
curveTo
(double x1, double y1, double x2, double y2, double x3, double y3) void
destroy()
Frees resources.void
fill()
void
static ClassHandler
void
getCurrentPoint
(Dbl x, Dbl y) static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
void
lineTo
(double x, double y) void
moveTo
(double x, double y) void
newPath()
void
paint()
void
paintWithAlpha
(double alpha) void
rectangle
(double x, double y, double width, double height) void
void
restore()
void
rotate
(double angle) void
save()
void
scale
(double x, double y) void
selectFontFace
(Str utf8, int style, int weight) void
selectFontFace
(String utf8, int style, int weight) void
setAntialias
(int antialias) void
void
setFillRule
(int fill_rule) void
setFontSize
(double size) void
setLineCap
(int line_cap) void
setLineJoin
(int line_join) void
setLineWidth
(double width) void
void
setOperator
(int operator) void
void
setSourceRgb
(double red, double green, double blue) void
setSourceRgba
(double red, double green, double blue, double alpha) void
setSourceSurface
(Surface surface, double x, double y) void
void
void
stroke()
void
void
translate
(double x, double y) Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Context
-
-
Methodendetails
-
getClassHandler
-
save
public void save() -
restore
public void restore() -
rotate
public void rotate(double angle) - Parameter:
angle
-
-
paint
public void paint() -
paintWithAlpha
public void paintWithAlpha(double alpha) - Parameter:
alpha
-
-
setSourceSurface
- Parameter:
surface
-x
-y
-
-
setSource
- Parameter:
source
-
-
closePath
public void closePath() -
setOperator
public void setOperator(int operator) - Parameter:
operator
-
-
setLineWidth
public void setLineWidth(double width) - Parameter:
width
-
-
setAntialias
public void setAntialias(int antialias) - Parameter:
antialias
-
-
moveTo
public void moveTo(double x, double y) - Parameter:
x
-y
-
-
selectFontFace
- Parameter:
utf8
-style
-weight
-
-
selectFontFace
- Parameter:
utf8
-style
-weight
-
-
setFontSize
public void setFontSize(double size) - Parameter:
size
-
-
lineTo
public void lineTo(double x, double y) - Parameter:
x
-y
-
-
arc
public void arc(double xc, double yc, double radius, double angle1, double angle2) - Parameter:
xc
-yc
-radius
-angle1
-angle2
-
-
setFillRule
public void setFillRule(int fill_rule) - Parameter:
fill_rule
-
-
curveTo
public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3) - Parameter:
x1
-y1
-x2
-y2
-x3
-y3
-
-
stroke
public void stroke() -
fill
public void fill() -
fillPreserve
public void fillPreserve() -
rectangle
public void rectangle(double x, double y, double width, double height) - Parameter:
x
-y
-width
-height
-
-
setDash
- Parameter:
dashes
-num_dashes
-offset
-
-
setLineCap
public void setLineCap(int line_cap) - Parameter:
line_cap
-
-
setLineJoin
public void setLineJoin(int line_join) - Parameter:
line_join
-
-
setSourceRgba
public void setSourceRgba(double red, double green, double blue, double alpha) - Parameter:
red
-green
-blue
-alpha
-
-
setSourceRgb
public void setSourceRgb(double red, double green, double blue) - Parameter:
red
-green
-blue
-
-
destroy
public void destroy()Beschreibung aus Klasse kopiert:Record
Frees resources. Free memory allocated for this record. Object is invalid afterwards and should not be accessed. -
resetClip
public void resetClip() -
clip
public void clip() -
newPath
public void newPath() -
setMatrix
- Parameter:
matrix
-
-
transform
- Parameter:
matrix
-
-
identityMatrix
public void identityMatrix() -
showText
- Parameter:
utf8
-
-
showText
- Parameter:
utf8
-
-
getSource
- Gibt zurück:
-
getCurrentPoint
- Parameter:
x
-y
-
-
translate
public void translate(double x, double y) - Parameter:
x
-y
-
-
scale
public void scale(double x, double y) - Parameter:
x
-y
-
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-