Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- A1 - Enum constant in enum class org.freedesktop.cairo.Format
-
each pixel is a 1-bit quantity holding an alpha value.
- A8 - Enum constant in enum class org.freedesktop.cairo.Format
-
each pixel is a 8-bit quantity holding an alpha value.
- acquire() - Method in class org.freedesktop.cairo.Device
-
Acquires the device for the current thread.
- acquire(RasterSource, Surface, RectangleInt) - Method in interface org.freedesktop.cairo.RasterSourceAcquireFunc
-
Called when a pattern is being rendered from.
- add(Surface) - Method in class org.freedesktop.cairo.TeeSurface
-
Adds a new target surface to the list of replicas of a tee surface.
- ADD - Enum constant in enum class org.freedesktop.cairo.Operator
-
source and destination layers are accumulated
- addColorStopRGB(double, double, double, double) - Method in class org.freedesktop.cairo.Gradient
-
Adds an opaque color stop to a gradient pattern.
- addColorStopRGBA(double, double, double, double, double) - Method in class org.freedesktop.cairo.Gradient
-
Adds a translucent color stop to a gradient pattern.
- addFillCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for fill operations on the observed surface.
- addFinishCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for finish operations on the observed surface.
- addFlushCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for flush operations on the observed surface.
- addGlyphsCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for glyph operations on the observed surface.
- addMaskCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for mask operations on the observed surface.
- addOutline(int, String, String, Set<PDFOutlineFlags>) - Method in class org.freedesktop.cairo.PDFSurface
-
Add an item to the document outline hierarchy with the name
utf8
that links to the location specified bylinkAttribs
. - addPaintCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for paint operations on the observed surface.
- addStrokeCallback(SurfaceObserverCallback) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Adds a callback for stroke operations on the observed surface.
- allocateClusters(int) - Static method in class org.freedesktop.cairo.Glyphs
-
Allocates an array of
TextCluster
s. - allocateGlyphs(int) - Static method in class org.freedesktop.cairo.Glyphs
-
Allocates an array of
Glyph
s. - allocateNativeString(String, SegmentAllocator) - Static method in class io.github.jwharm.cairobindings.Interop
-
Allocate a native string using SegmentAllocator.allocateUtf8String(String).
- alpha() - Method in record class org.freedesktop.cairo.RGBA
-
Returns the value of the
alpha
record component. - ALPHA - Enum constant in enum class org.freedesktop.cairo.Content
-
The surface will hold alpha content only.
- Antialias - Enum Class in org.freedesktop.cairo
-
Specifies the type of antialiasing to do when rendering text or shapes.
- appendPath(Path) - Method in class org.freedesktop.cairo.Context
-
Append the path onto the current path.
- arc(double, double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Adds a circular arc of the given radius to the current path.
- arcNegative(double, double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Adds a circular arc of the given radius to the current path.
- arena() - Method in record class io.github.jwharm.cairobindings.ArenaCloseAction
-
Returns the value of the
arena
record component. - ArenaCloseAction - Record Class in io.github.jwharm.cairobindings
-
Helper class to separate the cleanup logic from the object being cleaned
- ArenaCloseAction(Arena) - Constructor for record class io.github.jwharm.cairobindings.ArenaCloseAction
-
Creates an instance of a
ArenaCloseAction
record class. - ARGB32 - Enum constant in enum class org.freedesktop.cairo.Format
-
each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then blue.
- ascent() - Method in class org.freedesktop.cairo.FontExtents
-
The distance that the font extends above the baseline.
- ASCII - Enum constant in enum class org.freedesktop.cairo.ScriptMode
-
the output will be in readable text (default).
- ATOP - Enum constant in enum class org.freedesktop.cairo.Operator
-
draw source on top of destination content and only there
- AUTHOR - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document author
B
- BACKWARD - Enum constant in enum class org.freedesktop.cairo.TextClusterFlags
-
The clusters in the cluster array map to glyphs in the glyph array from end to start.
- beginPatch() - Method in class org.freedesktop.cairo.Mesh
-
Begin a patch in a mesh pattern.
- BEOS - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (beos support have been removed, this surface type will never be set by cairo)
- BEST - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Hint that the backend should render at the highest quality, sacrificing speed if necessary
- BEST - Enum constant in enum class org.freedesktop.cairo.Dither
-
Best algorithm available in the backend
- BEST - Enum constant in enum class org.freedesktop.cairo.Filter
-
The highest-quality available, performance may not be suitable for interactive use.
- BEVEL - Enum constant in enum class org.freedesktop.cairo.LineJoin
-
use a cut-off join, the join is cut off at half the line width from the joint point
- BGR - Enum constant in enum class org.freedesktop.cairo.SubpixelOrder
-
Subpixel elements are arranged horizontally with blue at the left
- BILINEAR - Enum constant in enum class org.freedesktop.cairo.Filter
-
Linear interpolation in two dimensions
- BINARY - Enum constant in enum class org.freedesktop.cairo.ScriptMode
-
the output will use byte codes.
- blue() - Method in record class org.freedesktop.cairo.RGBA
-
Returns the value of the
blue
record component. - BOLD - Enum constant in enum class org.freedesktop.cairo.FontWeight
-
Bold font weight
- BOLD - Enum constant in enum class org.freedesktop.cairo.FTSynthesize
-
Embolden the glyphs (redraw with a pixel offset)
- BOLD - Enum constant in enum class org.freedesktop.cairo.PDFOutlineFlags
-
The outline item is displayed by the viewer in bold text
- BUTT - Enum constant in enum class org.freedesktop.cairo.LineCap
-
start(stop) the line exactly at the start(end) point
C
- Cairo - Class in org.freedesktop.cairo
-
This class contains global declarations that do not belong in a specific cairo class definition.
- CAIRO_PDF_OUTLINE_ROOT - Static variable in class org.freedesktop.cairo.PDFSurface
-
The root outline item in cairo_pdf_surface_add_outline().
- CCITT_FAX - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Group 3 or Group 4 CCITT facsimile encoding (International Telecommunication Union, Recommendations T.4 and T.6.)
- CCITT_FAX_PARAMS - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Decode parameters for Group 3 or Group 4 CCITT facsimile encoding.
- Circle - Record Class in org.freedesktop.cairo
-
A circle defined by the x and y coordinates of the center and the radius.
- Circle(double, double, double) - Constructor for record class org.freedesktop.cairo.Circle
-
Creates an instance of a
Circle
record class. - CLEANER - Static variable in record class io.github.jwharm.cairobindings.ArenaCloseAction
- CLEAR - Enum constant in enum class org.freedesktop.cairo.Operator
-
clear destination layer (bounded)
- clip() - Method in class org.freedesktop.cairo.Context
-
Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by
Context.fill()
and according to the current fill rule (seeContext.setFillRule(FillRule)
). - CLIP_NOT_REPRESENTABLE - Enum constant in enum class org.freedesktop.cairo.Status
-
clip region not representable in desired format
- clipExtents() - Method in class org.freedesktop.cairo.Context
-
Computes a bounding box in user coordinates covering the area inside the current clip.
- clipPreserve() - Method in class org.freedesktop.cairo.Context
-
Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by
Context.fill()
and according to the current fill rule (seeContext.setFillRule(FillRule)
). - close() - Method in class org.freedesktop.cairo.Device
-
Closing a device will invoke
Device.finish()
, which will flush the device and drop all references to external resources. - close() - Method in class org.freedesktop.cairo.Glyphs
-
Free the glyphs array using
cairo_glyph_free
and the clusters array usingcairo_text_cluster_free
. - close() - Method in class org.freedesktop.cairo.Surface
-
Closing a surface will invoke
Surface.finish()
, which will flush the surface and drop all references to external resources. - CLOSE_PATH - Enum constant in enum class org.freedesktop.cairo.PathDataType
-
A close-path operation
- closePath() - Method in class org.freedesktop.cairo.Context
-
Adds a line segment to the path from the current point to the beginning of the current sub-path, (the most recent point passed to
Context.moveTo(double, double)
), and closes this sub-path. - ClosePath() - Constructor for record class org.freedesktop.cairo.PathElement.ClosePath
-
Creates an instance of a
ClosePath
record class. - CM - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Centimeters (1cm = 96px/2.54).
- COGL - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type cogl
- COGL - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (Cogl support have been removed, this surface type will never be set by cairo)
- COLOR - Enum constant in enum class org.freedesktop.cairo.ColorMode
-
Enable rendering color glyphs.
- COLOR - Enum constant in enum class org.freedesktop.cairo.Content
-
The surface will hold color content only.
- COLOR_ALPHA - Enum constant in enum class org.freedesktop.cairo.Content
-
The surface will hold color and alpha content.
- COLOR_BURN - Enum constant in enum class org.freedesktop.cairo.Operator
-
darkens the destination color to reflect the source color.
- COLOR_DODGE - Enum constant in enum class org.freedesktop.cairo.Operator
-
brightens the destination color to reflect the source color.
- COLOR_PALETTE_DEFAULT - Static variable in class org.freedesktop.cairo.FontOptions
-
The default color palette index.
- ColorMode - Enum Class in org.freedesktop.cairo
-
Specifies if color fonts are to be rendered using the color glyphs or outline glyphs.
- containsPoint(int, int) - Method in class org.freedesktop.cairo.Region
-
Checks whether (
x
,y
) is contained in this region. - containsRectangle(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Checks whether
rectangle
is inside, outside or partially contained in this region - Content - Enum Class in org.freedesktop.cairo
-
Content is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs.
- Context - Class in org.freedesktop.cairo
-
The cairo drawing context.
- Context(MemorySegment) - Constructor for class org.freedesktop.cairo.Context
-
Constructor used internally to instantiate a java Context object for a native
cairo_t
instance - copy() - Method in class org.freedesktop.cairo.FontOptions
-
Allocates a new font options object copying the option values from the original.
- copy() - Method in class org.freedesktop.cairo.Region
-
Allocates a new region object copying the area from this region.
- copy(RasterSource, RasterSource) - Method in interface org.freedesktop.cairo.RasterSourceCopyFunc
-
Called when the pattern gets copied as a normal part of rendering.
- copyClipRectangleList() - Method in class org.freedesktop.cairo.Context
-
Gets the current clip region as a list of rectangles in user coordinates.
- copyPage() - Method in class org.freedesktop.cairo.Context
-
Emits the current page for backends that support multiple pages, but doesn't clear it, so, the contents of the current page will be retained for the next page too.
- copyPage() - Method in class org.freedesktop.cairo.Surface
-
Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page.
- copyPath() - Method in class org.freedesktop.cairo.Context
-
Creates a copy of the current path and returns it to the user as a
Path
. - copyPathFlat() - Method in class org.freedesktop.cairo.Context
-
Gets a flattened copy of the current path and returns it to the user as a
Path
. - create() - Static method in class org.freedesktop.cairo.FontOptions
-
Allocates a new font options object with all options initialized to default values.
- create() - Static method in class org.freedesktop.cairo.Mesh
-
Create a new mesh pattern.
- create() - Static method in class org.freedesktop.cairo.Region
-
Allocates a new empty region object.
- create() - Static method in class org.freedesktop.cairo.ToyFontFace
-
Convenience constructor that invokes
ToyFontFace.create(String, FontSlant, FontWeight)
with anull
family
to specify the platform-specific default font family,FontSlant.NORMAL
andFontWeight.NORMAL
. - create() - Static method in class org.freedesktop.cairo.UserFontFace
-
Creates a new user font-face.
- create(double, double, double, double) - Static method in class org.freedesktop.cairo.LinearGradient
-
Create a new linear gradient
Pattern
along the line defined by (x0, y0) and (x1, y1). - create(double, double, double, double, double, double) - Static method in class org.freedesktop.cairo.RadialGradient
-
Creates a new radial gradient cairo_pattern_t between the two circles defined by (cx0, cy0, radius0) and (cx1, cy1, radius1).
- create(OutputStream) - Static method in class org.freedesktop.cairo.Script
-
Creates a output device for emitting the script, used when creating the individual surfaces.
- create(OutputStream, double, double) - Static method in class org.freedesktop.cairo.PDFSurface
-
Creates a PDF surface of the specified size in points to be written incrementally to the
stream
. - create(OutputStream, double, double) - Static method in class org.freedesktop.cairo.PSSurface
-
Creates a PostScript surface of the specified size in points to be written incrementally to the OutputStream
stream
. - create(OutputStream, double, double) - Static method in class org.freedesktop.cairo.SVGSurface
-
Creates a SVG surface of the specified size in points to be written incrementally to the
stream
. - create(Arena) - Static method in class org.freedesktop.cairo.FontExtents
-
Allocate a new, uninitialized
cairo_font_extents_t
- create(Arena) - Static method in class org.freedesktop.cairo.Matrix
-
Allocate a new, uninitialized
caio_matrix_t
- create(Arena) - Static method in class org.freedesktop.cairo.TextExtents
-
Allocate a new, uninitialized
cairo_text_extents_t
- create(Arena) - Static method in class org.freedesktop.cairo.UserDataKey
-
Create a new UserDataKey
- create(Arena, double, double, double, double) - Static method in class org.freedesktop.cairo.Rectangle
-
A data structure for holding a rectangle.
- create(Arena, int, int, int, int) - Static method in class org.freedesktop.cairo.RectangleInt
-
Create a rectangle with integer coordinates.
- create(Arena, Status, List<Rectangle>) - Static method in class org.freedesktop.cairo.RectangleList
-
A data structure for holding a dynamically allocated array of rectangles.
- create(MemorySegment, Format, int, int, int) - Static method in class org.freedesktop.cairo.ImageSurface
-
Creates an image surface for the provided pixel data.
- create(String) - Static method in class org.freedesktop.cairo.Script
-
Creates a output device for emitting the script, used when creating the individual surfaces.
- create(String, double, double) - Static method in class org.freedesktop.cairo.PDFSurface
-
Creates a PDF surface of the specified size in points to be written to
filename
. - create(String, double, double) - Static method in class org.freedesktop.cairo.PSSurface
-
Creates a PostScript surface of the specified size in points to be written to
filename
. - create(String, double, double) - Static method in class org.freedesktop.cairo.SVGSurface
-
Creates a SVG surface of the specified size in points to be written to
filename
. - create(String, FontSlant, FontWeight) - Static method in class org.freedesktop.cairo.ToyFontFace
-
Creates a toy font face from a triplet of family, slant, and weight.
- create(Content, int, int) - Static method in class org.freedesktop.cairo.RasterSource
-
Creates a new user pattern for providing pixel data.
- create(Content, Rectangle) - Static method in class org.freedesktop.cairo.RecordingSurface
-
Creates a recording-surface which can be used to record all drawing operations at the highest level (that is, the level of
paint
,mask
,stroke
,fill
, andshowTextGlyphs
). - create(FontFace, Matrix, Matrix, FontOptions) - Static method in class org.freedesktop.cairo.ScaledFont
-
Creates a ScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used.
- create(Format, int, int) - Static method in class org.freedesktop.cairo.ImageSurface
-
Creates an image surface of the specified format and dimensions.
- create(FTFontFace, Matrix, Matrix, FontOptions) - Static method in class org.freedesktop.cairo.FTScaledFont
-
Creates a FTScaledFont object from a FreeType font face and matrices that describe the size of the font and the environment in which it will be used.
- create(RectangleInt) - Static method in class org.freedesktop.cairo.Region
-
Allocates a new region object containing
rectangle
. - create(RectangleInt[]) - Static method in class org.freedesktop.cairo.Region
-
Allocates a new region object containing the union of all given
rects
. - create(Surface) - Static method in class org.freedesktop.cairo.Context
-
Creates a new Context with all graphics state parameters set to default values and with target as a target surface.
- create(Surface) - Static method in class org.freedesktop.cairo.SurfacePattern
-
Create a new
Pattern
for the given surface. - create(Surface) - Static method in class org.freedesktop.cairo.TeeSurface
-
Creates a new "tee" surface.
- create(Surface, SurfaceObserverMode) - Static method in class org.freedesktop.cairo.SurfaceObserver
-
Create a new surface that exists solely to watch another is doing.
- create(Face, int) - Static method in class org.freedesktop.cairo.FTFontFace
-
Creates a new font face for the FreeType font backend from a pre-opened FreeType face.
- CREATE_DATE - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document creation date
- createForRectangle(Surface, double, double, double, double) - Static method in class org.freedesktop.cairo.Surface
-
Create a new surface that is a rectangle within the target surface.
- createFromPNG(InputStream) - Static method in class org.freedesktop.cairo.ImageSurface
-
Creates a new image surface from PNG data read incrementally from the input stream.
- createFromPNG(String) - Static method in class org.freedesktop.cairo.ImageSurface
-
Creates a new image surface and initializes the contents to the given PNG file.
- createRGB(double, double, double) - Static method in class org.freedesktop.cairo.SolidPattern
-
Creates a new
Pattern
corresponding to an opaque color. - createRGBA(double, double, double, double) - Static method in class org.freedesktop.cairo.SolidPattern
-
Creates a new
Pattern
corresponding to a translucent color. - createScriptSurface(Content, double, double) - Method in class org.freedesktop.cairo.Script
-
Create a new surface that will emit its rendering through this script (output device)
- createScriptSurfaceForTarget(Surface) - Method in class org.freedesktop.cairo.Script
-
Create a proxy surface that will render to
target
and record the operations to this script (output device). - createSimilar(T, Content, int, int) - Static method in class org.freedesktop.cairo.Surface
-
Create a new surface that is as compatible as possible with an existing surface.
- createSimilarImage(Surface, Format, int, int) - Static method in class org.freedesktop.cairo.Surface
-
Create a new image surface that is as compatible as possible for uploading to and the use in conjunction with an existing surface.
- CREATOR - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document creator
- CURVE_TO - Enum constant in enum class org.freedesktop.cairo.PathDataType
-
A curve-to operation
- curveTo(double, double, double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Adds a cubic Bézier spline to the path from the current point to position
(x3, y3)
in user-space coordinates, using(x1 , y1)
and(x2, y2)
as the control points. - curveTo(double, double, double, double, double, double) - Method in class org.freedesktop.cairo.Mesh
-
Adds a cubic Bézier spline to the current patch from the current point to position (x3, y3) in pattern-space coordinates, using (x1, y1) and (x2, y2) as the control points.
- CurveTo(double, double, double, double, double, double) - Constructor for record class org.freedesktop.cairo.PathElement.CurveTo
-
Creates an instance of a
CurveTo
record class.
D
- DARKEN - Enum constant in enum class org.freedesktop.cairo.Operator
-
replaces the destination with the source if it is darker, otherwise keeps the source.
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Use the default antialiasing for the subsystem and target device
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.ColorMode
-
Use the default color mode for font backend and target device
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.Dither
-
Default choice at cairo compile time.
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.HintMetrics
-
Hint metrics in the default manner for the font backend and target device
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.HintStyle
-
Use the default hint style for font backend and target device
- DEFAULT - Enum constant in enum class org.freedesktop.cairo.SubpixelOrder
-
Use the default subpixel order for for the target device
- descent() - Method in class org.freedesktop.cairo.FontExtents
-
The distance that the font extends below the baseline.
- DEST - Enum constant in enum class org.freedesktop.cairo.Operator
-
ignore the source
- DEST_ATOP - Enum constant in enum class org.freedesktop.cairo.Operator
-
leave destination on top of source content and only there (unbounded)
- DEST_IN - Enum constant in enum class org.freedesktop.cairo.Operator
-
leave destination only where there was source content (unbounded)
- DEST_OUT - Enum constant in enum class org.freedesktop.cairo.Operator
-
leave destination only where there was no source content
- DEST_OVER - Enum constant in enum class org.freedesktop.cairo.Operator
-
draw destination on top of source
- destroy() - Method in class org.freedesktop.cairo.Context
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.Device
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.FontFace
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.FontOptions
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.Path
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.Pattern
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.RectangleList
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.Region
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.ScaledFont
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy() - Method in class org.freedesktop.cairo.Surface
-
Invokes the cleanup action that is normally invoked during garbage collection.
- destroy(MemorySegment) - Method in interface org.freedesktop.cairo.DestroyFunc
-
The function to implement as callback in a destroy operation.
- DestroyFunc - Interface in org.freedesktop.cairo
-
DestroyFunc the type of function which is called when a data element is destroyed.
- Device - Class in org.freedesktop.cairo
-
Devices are the abstraction Cairo employs for the rendering system used by a
Surface
. - Device(MemorySegment) - Constructor for class org.freedesktop.cairo.Device
-
Constructor used internally to instantiate a java Device object for a native
cairo_device_t
instance - DEVICE_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
an operation to the device caused an unspecified error
- DEVICE_FINISHED - Enum constant in enum class org.freedesktop.cairo.Status
-
target device has been finished
- DEVICE_TYPE_MISMATCH - Enum constant in enum class org.freedesktop.cairo.Status
-
the device type is not appropriate for the operation
- deviceToUser(Point) - Method in class org.freedesktop.cairo.Context
-
Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).
- deviceToUserDistance(Point) - Method in class org.freedesktop.cairo.Context
-
Transform a distance vector from device space to user space.
- DeviceType - Enum Class in org.freedesktop.cairo
-
DeviceType is used to describe the type of a given device.
- DIFFERENCE - Enum constant in enum class org.freedesktop.cairo.Operator
-
Takes the difference of the source and destination color.
- DIRECTFB - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (directfb support have been removed, this surface type will never be set by cairo)
- Dither - Enum Class in org.freedesktop.cairo
-
Dither is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images (e.g.
- doneFace() - Method in class org.freedesktop.freetype.Face
-
Discard a given face object, as well as all of its child slots and sizes.
- doneFreeType() - Method in class org.freedesktop.freetype.Library
-
Destroy a given FreeType library object and all of its children, including resources, drivers, faces, sizes, etc.
- downcallHandle(String, FunctionDescriptor) - Static method in class io.github.jwharm.cairobindings.Interop
-
Creates a method handle that is used to call the native function with the provided name and function descriptor.
- DRM - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type Direct Render Manager
- DRM - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (DRM support have been removed, this surface type will never be set by cairo)
- dscBeginPageSetup() - Method in class org.freedesktop.cairo.PSSurface
-
This function indicates that subsequent calls to
PSSurface.dscComment(String)
should direct comments to the PageSetup section of the PostScript output. - dscBeginSetup() - Method in class org.freedesktop.cairo.PSSurface
-
This function indicates that subsequent calls to
PSSurface.dscComment(String)
should direct comments to the Setup section of the PostScript output. - dscComment(String) - Method in class org.freedesktop.cairo.PSSurface
-
Emit a comment into the PostScript output for the given surface.
- DWRITE - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font is of type Win32 DWrite
- DWRITE_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in the Windows Direct Write API
E
- elapsed() - Method in class org.freedesktop.cairo.SurfaceObserver
-
Returns the total observation time.
- EM - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
The size of the element's font.
- endPatch() - Method in class org.freedesktop.cairo.Mesh
-
Indicates the end of the current patch in a mesh pattern.
- ensureInitialized() - Static method in class org.freedesktop.cairo.Cairo
-
Ensures the class initializer has loaded the cairo library.
- ensureInitialized() - Static method in class org.freedesktop.freetype.FreeType2
-
Ensures the class initializer has loaded the freetype library.
- enumSetToInt(Set<T>) - Static method in class io.github.jwharm.cairobindings.Interop
-
Create a bitfield from the provided Set of enums
- EPS_PARAMS - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Embedding parameters Encapsulated PostScript data.
- equal(Region) - Method in class org.freedesktop.cairo.Region
-
Compares whether this region is equivalent to
other
. - equals(Object) - Method in record class io.github.jwharm.cairobindings.ArenaCloseAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.jwharm.cairobindings.Proxy
-
Checks whether the other object is a Proxy instance and the memory addresses are equal.
- equals(Object) - Method in record class org.freedesktop.cairo.Circle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.freedesktop.cairo.FontOptions
-
Compares two font options objects for equality.
- equals(Object) - Method in record class org.freedesktop.cairo.PathElement.ClosePath
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.PathElement.LineTo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.PathElement.MoveTo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.Point
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.Rect
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.freedesktop.cairo.RGBA
-
Indicates whether some other object is "equal to" this one.
- Error handling - Search tag in package org.freedesktop.cairo
- Section
- EVEN_ODD - Enum constant in enum class org.freedesktop.cairo.FillRule
-
Counts the total number of intersections, without regard to the orientation of the contour.
- EX - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
The x-height of the element’s font.
- EXCLUSION - Enum constant in enum class org.freedesktop.cairo.Operator
-
Produces an effect similar to difference, but with lower contrast.
- Extend - Enum Class in org.freedesktop.cairo
-
Extend is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry).
- extents(FontExtents) - Method in class org.freedesktop.cairo.ScaledFont
-
Gets the metrics for a ScaledFont.
F
- Face - Class in org.freedesktop.freetype
-
A handle to a typographic face object.
- Face(MemorySegment) - Constructor for class org.freedesktop.freetype.Face
-
Constructor used internally to instantiate a java Face object for a native
FT_Face
instance - FAST - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Hint that the backend should perform some antialiasing but prefer speed over quality
- FAST - Enum constant in enum class org.freedesktop.cairo.Dither
-
Fastest dithering algorithm supported by the backend
- FAST - Enum constant in enum class org.freedesktop.cairo.Filter
-
A high-performance filter, with quality similar to
Filter.NEAREST
- FILE_NOT_FOUND - Enum constant in enum class org.freedesktop.cairo.Status
-
file not found
- fill() - Method in class org.freedesktop.cairo.Context
-
A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled).
- fillExtents() - Method in class org.freedesktop.cairo.Context
-
Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a
Context.fill()
operation given the current path and fill parameters. - fillPreserve() - Method in class org.freedesktop.cairo.Context
-
A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled).
- FillRule - Enum Class in org.freedesktop.cairo
-
cairo_fill_rule_t is used to select how paths are filled.
- Filter - Enum Class in org.freedesktop.cairo
-
Filter is used to indicate what filtering should be applied when reading pixel values from patterns.
- finish() - Method in class org.freedesktop.cairo.Device
-
This function finishes the device and drops all references to external resources.
- finish() - Method in class org.freedesktop.cairo.Surface
-
This function finishes the surface and drops all references to external resources.
- finish(RasterSource) - Method in interface org.freedesktop.cairo.RasterSourceFinishFunc
-
Called when the pattern (or a copy thereof) is no longer required.
- Flag - Interface in io.github.jwharm.cairobindings
-
Base class for flag types (enumerations that can be combined into bitfields)
- flush() - Method in class org.freedesktop.cairo.Device
-
Finish any pending operations for the device and also restore any temporary modifications cairo has made to the device's state.
- flush() - Method in class org.freedesktop.cairo.Surface
-
Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state.
- FONT_TYPE_MISMATCH - Enum constant in enum class org.freedesktop.cairo.Status
-
the font type is not appropriate for the operation
- fontExtents(FontExtents) - Method in class org.freedesktop.cairo.Context
-
Gets the font extents for the currently selected font.
- FontExtents - Class in org.freedesktop.cairo
-
The FontExtents structure stores metric information for a font.
- FontExtents(MemorySegment) - Constructor for class org.freedesktop.cairo.FontExtents
-
Constructor used internally to instantiate a java FontExtents object for a native
cairo_font_extents_t
instance - FontFace - Class in org.freedesktop.cairo
-
The base class for font faces.
- FontFace(MemorySegment) - Constructor for class org.freedesktop.cairo.FontFace
-
Constructor used internally to instantiate a java FontFace object for a native
cairo_font_face_t
instance - FontOptions - Class in org.freedesktop.cairo
-
How a font should be rendered.
- FontOptions(MemorySegment) - Constructor for class org.freedesktop.cairo.FontOptions
-
Constructor used internally to instantiate a java FontOptions object for a native
cairo_font_options_t
instance - FontSlant - Enum Class in org.freedesktop.cairo
-
Specifies variants of a font face based on their slant.
- FontType - Enum Class in org.freedesktop.cairo
-
FontType is used to describe the type of a given font face or scaled font.
- FontWeight - Enum Class in org.freedesktop.cairo
-
Specifies variants of a font face based on their weight.
- Format - Enum Class in org.freedesktop.cairo
-
Used to identify the memory format of image data.
- formatStrideForWidth(Format, int) - Static method in class org.freedesktop.cairo.ImageSurface
-
This function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code within cairo.
- free(MemorySegment) - Static method in class io.github.jwharm.cairobindings.MemoryCleaner
-
Run the
MemoryCleaner.StructFinalizer
associated with this memory address, by invokingCleaner.Cleanable.clean()
. - FREETYPE_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in libfreetype
- FreeType2 - Class in org.freedesktop.freetype
-
This class contains global declarations that do not belong in a specific FreeType class definition.
- from(RecordingSurface) - Method in class org.freedesktop.cairo.Script
-
Converts the record operations in recordingSurface into a script.
- FT - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font is of type FreeType
- FTFontFace - Class in org.freedesktop.cairo
-
Provides a FontFace for FreeType.
- FTFontFace(MemorySegment) - Constructor for class org.freedesktop.cairo.FTFontFace
-
Constructor used internally to instantiate a java FTFontFace object for a native
cairo_font_face
instance - FTScaledFont - Class in org.freedesktop.cairo
-
Provides a ScaledFont from the FreeType font backend.
- FTScaledFont(MemorySegment) - Constructor for class org.freedesktop.cairo.FTScaledFont
-
Constructor used internally to instantiate a java FTScaledFont object for a native
cairo_scaled_font_t
instance - FTSynthesize - Enum Class in org.freedesktop.cairo
-
A set of synthesis options to control how FreeType renders the glyphs for a particular font face.
- FULL - Enum constant in enum class org.freedesktop.cairo.HintStyle
-
Hint outlines to maximize contrast
G
- GAUSSIAN - Enum constant in enum class org.freedesktop.cairo.Filter
-
This filter value is currently unimplemented, and should not be used in current code.
- getAcquire() - Method in class org.freedesktop.cairo.RasterSource
-
Queries the current acquire callback
- getAntialias() - Method in class org.freedesktop.cairo.Context
-
Gets the current shape antialiasing mode, as set by
Context.setAntialias(Antialias)
. - getAntialias() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the antialiasing mode for the font options object.
- getClusterFlags() - Method in class org.freedesktop.cairo.Glyphs
-
Get the text cluster flags
- getClustersPointer() - Method in class org.freedesktop.cairo.Glyphs
-
Get a pointer to the clusters array
- getColorMode() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the color mode for the font options object.
- getColorPalette() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the current OpenType color font palette for the font options object.
- getColorStopCount() - Method in class org.freedesktop.cairo.Gradient
-
Gets the number of color stops specified in the given gradient pattern.
- getColorStopRGBA(int) - Method in class org.freedesktop.cairo.Gradient
-
Gets the color and offset information at the given
index
for a gradient pattern. - getContent() - Method in class org.freedesktop.cairo.Surface
-
This function returns the content type of surface which indicates whether the surface contains color and/or alpha information.
- getControlPoint(int, int) - Method in class org.freedesktop.cairo.Mesh
-
Gets the control point
pointNum
of patchpatchNum
for a mesh pattern. - getCopy() - Method in class org.freedesktop.cairo.RasterSource
-
Queries the current copy callback.
- getCornerColorRGBA(int, int) - Method in class org.freedesktop.cairo.Mesh
-
Gets the color information in corner
cornerNum
of patchpatchNum
for a mesh pattern. - getCTM(Matrix) - Method in class org.freedesktop.cairo.ScaledFont
-
Returns the CTM with which the ScaledFont was created.
- getCurrentPoint() - Method in class org.freedesktop.cairo.Context
-
Gets the current point of the current path, which is conceptually the final point reached by the path so far.
- getCustomPaletteColor(int) - Method in class org.freedesktop.cairo.FontOptions
-
Gets the custom palette color for the color index for the font options object.
- getDash() - Method in class org.freedesktop.cairo.Context
-
Gets the current dash array.
- getDashCount() - Method in class org.freedesktop.cairo.Context
-
This function returns the length of the dash array in the context (0 if dashing is not currently in effect).
- getDashOffset() - Method in class org.freedesktop.cairo.Context
-
Gets the current offset into the dash array.
- getData() - Method in class org.freedesktop.cairo.ImageSurface
-
Get a pointer to the data of the image surface, for direct inspection or modification.
- getDevice() - Method in class org.freedesktop.cairo.Surface
-
This function returns the device for a surface.
- getDeviceOffset() - Method in class org.freedesktop.cairo.Surface
-
This function returns the previous device offset set by
Surface.setDeviceOffset(double, double)
. - getDeviceScale() - Method in class org.freedesktop.cairo.Surface
-
This function returns the previous device scale set by
Surface.setDeviceScale(double, double)
. - getDeviceType() - Method in class org.freedesktop.cairo.Device
-
This function returns the type of the device.
- getDither() - Method in class org.freedesktop.cairo.Pattern
-
Gets the current dithering mode, as set by
Pattern.setDither(Dither)
. - getDocumentUnit() - Method in class org.freedesktop.cairo.SVGSurface
-
Get the unit of the SVG surface.
- getEPS() - Method in class org.freedesktop.cairo.PSSurface
-
Check whether the PostScript surface will output Encapsulated PostScript.
- getExtend() - Method in class org.freedesktop.cairo.Pattern
-
Gets the current extend mode for a pattern.
- getExtents(Rectangle) - Method in class org.freedesktop.cairo.RecordingSurface
-
Get the extents of the recording-surface.
- getExtents(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Gets the bounding rectangle of region as a
RectangleInt
- getFallbackResolution() - Method in class org.freedesktop.cairo.Surface
-
This function returns the previous fallback resolution set by
Surface.setFallbackResolution(double, double)
, or default fallback resolution if never set. - getFamily() - Method in class org.freedesktop.cairo.ToyFontFace
-
Gets the family name of a toy font.
- getFillRule() - Method in class org.freedesktop.cairo.Context
-
Gets the current fill rule, as set by
Context.setFillRule(FillRule)
. - getFilter() - Method in class org.freedesktop.cairo.Pattern
-
Gets the current filter for a pattern.
- getFinish() - Method in class org.freedesktop.cairo.RasterSource
-
Queries the current finish callback.
- getFontFace() - Method in class org.freedesktop.cairo.Context
-
Gets the current font face for a
Context
. - getFontFace() - Method in class org.freedesktop.cairo.ScaledFont
-
Gets the font face that this scaled font uses.
- getFontMatrix(Matrix) - Method in class org.freedesktop.cairo.Context
-
Stores the current font matrix into
matrix
. - getFontMatrix(Matrix) - Method in class org.freedesktop.cairo.ScaledFont
-
Stores the font matrix with which the ScaledFont was created into
fontMatrix
. - getFontOptions() - Method in class org.freedesktop.cairo.Context
-
Retrieves font rendering options set via
Context.setFontOptions(FontOptions)
. - getFontOptions(FontOptions) - Method in class org.freedesktop.cairo.ScaledFont
-
Stores the font options with which the ScaledFont was created into
options
. - getFontOptions(FontOptions) - Method in class org.freedesktop.cairo.Surface
-
Retrieves the default font rendering options for the surface.
- getFontType() - Method in class org.freedesktop.cairo.FontFace
-
Returns the type of the backend used to create a font face.
- getFontType() - Method in class org.freedesktop.cairo.ScaledFont
-
This function returns the type of the backend used to create a scaled font.
- getForegroundMarker() - Method in class org.freedesktop.cairo.UserScaledFont
-
Gets the foreground pattern of the glyph currently being rendered.
- getForegroundSource() - Method in class org.freedesktop.cairo.UserScaledFont
-
Gets the foreground pattern of the glyph currently being rendered.
- getFormat() - Method in class org.freedesktop.cairo.ImageSurface
-
Get the format of the surface.
- getGlyphsPointer() - Method in class org.freedesktop.cairo.Glyphs
-
Get a pointer to the glyphs array
- getGroupTarget() - Method in class org.freedesktop.cairo.Context
-
Gets the current destination surface for the context.
- getHairLine() - Method in class org.freedesktop.cairo.Context
-
Returns whether or not hairline mode is set, as set by
Context.setHairLine(boolean)
. - getHeight() - Method in class org.freedesktop.cairo.ImageSurface
-
Get the height of the image surface in pixels.
- getHintMetrics() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the metrics hinting mode for the font options object.
- getHintStyle() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the hint style for font outlines for the font options object.
- getInitFunc() - Method in class org.freedesktop.cairo.UserFontFace
-
Gets the scaled-font initialization function of a user-font.
- getLevels() - Static method in enum class org.freedesktop.cairo.PSLevel
-
Used to retrieve the list of supported levels.
- getLinearPoints() - Method in class org.freedesktop.cairo.LinearGradient
-
Gets the gradient endpoints for a linear gradient.
- getLineCap() - Method in class org.freedesktop.cairo.Context
-
Gets the current line cap style, as set by
Context.setLineCap(LineCap)
. - getLineJoin() - Method in class org.freedesktop.cairo.Context
-
Gets the current line join style, as set by
Context.setLineJoin(LineJoin)
. - getLineWidth() - Method in class org.freedesktop.cairo.Context
-
This function returns the current line width value exactly as set by
Context.setLineWidth(double)
. - getMatrix(Matrix) - Method in class org.freedesktop.cairo.Context
-
Stores the current transformation matrix (CTM) into
matrix
. - getMatrix(Matrix) - Method in class org.freedesktop.cairo.Pattern
-
Stores the pattern's transformation matrix into
matrix
. - getMimeData(MimeType) - Method in class org.freedesktop.cairo.Surface
-
Return mime data previously attached to the surface using the specified mime type.
- getMiterLimit() - Method in class org.freedesktop.cairo.Context
-
Gets the current miter limit, as set by
Context.setMiterLimit(double)
. - getMode() - Method in class org.freedesktop.cairo.Script
-
Queries the script for its current output mode.
- getNumClusters() - Method in class org.freedesktop.cairo.Glyphs
-
Get the number of text clusters in the cluster array
- getNumGlyphs() - Method in class org.freedesktop.cairo.Glyphs
-
Get the number of glyphs in the array
- getOperator() - Method in class org.freedesktop.cairo.Context
-
Gets the current compositing operator for a cairo context.
- getPatchCount() - Method in class org.freedesktop.cairo.Mesh
-
Gets the number of patches specified in the given mesh pattern.
- getPath(int) - Method in class org.freedesktop.cairo.Mesh
-
Gets path defining the patch
patchNum
for a mesh pattern. - getPatternType() - Method in class org.freedesktop.cairo.Pattern
-
Get the pattern's type.
- getRadialCircles() - Method in class org.freedesktop.cairo.RadialGradient
-
Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.
- getRectangle(int, RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Returns the
nth
rectangle from this region. - getRelease() - Method in class org.freedesktop.cairo.RasterSource
-
Queries the current release callback.
- getRenderColorGlyphFunc() - Method in class org.freedesktop.cairo.UserFontFace
-
Gets the color glyph rendering function of a user-font.
- getRenderGlyphFunc() - Method in class org.freedesktop.cairo.UserFontFace
-
Gets the glyph rendering function of a user-font.
- getRGBA() - Method in class org.freedesktop.cairo.SolidPattern
-
Gets the solid color for a solid color pattern.
- getRuntimePlatform() - Static method in class io.github.jwharm.cairobindings.Platform
-
Determine the runtime platform
- getScaledFont() - Method in class org.freedesktop.cairo.Context
-
Gets the current scaled font
- getScaleMatrix(Matrix) - Method in class org.freedesktop.cairo.ScaledFont
-
Returns the scale matrix of the ScaledFont.
- getSlant() - Method in class org.freedesktop.cairo.ToyFontFace
-
Gets the slant of a toy font.
- getSnapshot() - Method in class org.freedesktop.cairo.RasterSource
-
Queries the current snapshot callback.
- getSource() - Method in class org.freedesktop.cairo.Context
-
Gets the current source pattern.
- getStride() - Method in class org.freedesktop.cairo.ImageSurface
-
Get the stride of the image surface in bytes.
- getSubpixelOrder() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the subpixel order for the font options object.
- getSurface() - Method in class org.freedesktop.cairo.SurfacePattern
-
Gets the surface of a surface pattern.
- getSurfaceType() - Method in class org.freedesktop.cairo.Surface
-
This function returns the type of the backend used to create a surface.
- getSynthesize() - Method in class org.freedesktop.cairo.FTFontFace
-
See
FTSynthesize
. - getTarget() - Method in class org.freedesktop.cairo.Context
-
Gets the target surface for the cairo context as passed to
Context.create(Surface)
. - getTextToGlyphsFunc() - Method in class org.freedesktop.cairo.UserFontFace
-
Gets the text-to-glyphs conversion function of a user-font.
- getTolerance() - Method in class org.freedesktop.cairo.Context
-
Gets the current tolerance value, as set by
Context.setTolerance(double)
. - getType() - Static method in enum class org.freedesktop.cairo.Antialias
-
Get the CairoAntialias GType
- getType() - Static method in enum class org.freedesktop.cairo.Content
-
Get the CairoContent GType
- getType() - Static method in class org.freedesktop.cairo.Context
-
Get the CairoContext GType
- getType() - Static method in class org.freedesktop.cairo.Device
-
Get the CairoDevice GType
- getType() - Static method in enum class org.freedesktop.cairo.DeviceType
-
Get the CairoDeviceType GType
- getType() - Static method in enum class org.freedesktop.cairo.Extend
-
Get the CairoExtend GType
- getType() - Static method in enum class org.freedesktop.cairo.FillRule
-
Get the CairoFillRule GType
- getType() - Static method in enum class org.freedesktop.cairo.Filter
-
Get the CairoFilter GType
- getType() - Static method in class org.freedesktop.cairo.FontFace
-
Get the CairoFontFace GType
- getType() - Static method in class org.freedesktop.cairo.FontOptions
-
Get the CairoFontOptions GType
- getType() - Static method in enum class org.freedesktop.cairo.FontSlant
-
Get the CairoFontSlant GType
- getType() - Static method in enum class org.freedesktop.cairo.FontType
-
Get the CairoFontType GType
- getType() - Static method in enum class org.freedesktop.cairo.FontWeight
-
Get the CairoFontWeight GType
- getType() - Static method in enum class org.freedesktop.cairo.Format
-
Get the CairoFormat GType
- getType() - Static method in enum class org.freedesktop.cairo.HintMetrics
-
Get the CairoHintMetrics GType
- getType() - Static method in enum class org.freedesktop.cairo.HintStyle
-
Get the CairoHintStyle GType
- getType() - Static method in enum class org.freedesktop.cairo.LineCap
-
Get the CairoLineCap GType
- getType() - Static method in enum class org.freedesktop.cairo.LineJoin
-
Get the CairoLineJoin GType
- getType() - Static method in enum class org.freedesktop.cairo.Operator
-
Get the CairoOperator GType
- getType() - Static method in enum class org.freedesktop.cairo.PathDataType
-
Get the CairoPathDataType GType
- getType() - Static method in class org.freedesktop.cairo.Pattern
-
Get the CairoPattern GType
- getType() - Static method in enum class org.freedesktop.cairo.PatternType
-
Get the CairoPatternType GType
- getType() - Static method in class org.freedesktop.cairo.Rectangle
-
Get the CairoRectangle GType
- getType() - Static method in class org.freedesktop.cairo.RectangleInt
-
Get the CairoRectangleInt GType
- getType() - Static method in class org.freedesktop.cairo.Region
-
Get the CairoRegion GType
- getType() - Static method in enum class org.freedesktop.cairo.RegionOverlap
-
Get the CairoRegionOverlap GType
- getType() - Static method in class org.freedesktop.cairo.ScaledFont
-
Get the CairoScaledFont GType
- getType() - Static method in enum class org.freedesktop.cairo.Status
-
Get the CairoStatus GType
- getType() - Static method in enum class org.freedesktop.cairo.SubpixelOrder
-
Get the CairoSubpixelOrder GType
- getType() - Static method in class org.freedesktop.cairo.Surface
-
Get the CairoSurface GType
- getType() - Static method in enum class org.freedesktop.cairo.SurfaceType
-
Get the CairoSurfaceType GType
- getType() - Static method in enum class org.freedesktop.cairo.TextClusterFlags
-
Get the CairoTextClusterFlags GType
- getUnicodeToGlyphFunc() - Method in class org.freedesktop.cairo.UserFontFace
-
Gets the unicode-to-glyph conversion function of a user-font.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.Context
-
Return user data previously attached to the context using the specified key.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.Device
-
Return user data previously attached to the device using the specified key.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.FontFace
-
Return user data previously attached to the font face using the specified key.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.Pattern
-
Return user data previously attached to the pattern using the specified key.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.ScaledFont
-
Return user data previously attached to the scaled font using the specified key.
- getUserData(UserDataKey) - Method in class org.freedesktop.cairo.Surface
-
Return user data previously attached to the surface using the specified key.
- getValue() - Method in interface io.github.jwharm.cairobindings.Flag
-
Get the integer value for an enum member
- getValue() - Method in enum class org.freedesktop.cairo.Antialias
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.ColorMode
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Content
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.DeviceType
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Dither
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Extend
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.FillRule
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Filter
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.FontSlant
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.FontType
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.FontWeight
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Format
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.FTSynthesize
-
Get the value of this FTSynthesize enum
- getValue() - Method in enum class org.freedesktop.cairo.HintMetrics
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.HintStyle
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.LineCap
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.LineJoin
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Operator
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PathDataType
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PatternType
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PDFMetadata
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PDFOutlineFlags
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PDFVersion
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.PSLevel
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.RegionOverlap
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.ScriptMode
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.Status
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.SubpixelOrder
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.SurfaceObserverMode
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.SurfaceType
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.SVGUnit
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.SVGVersion
-
Return the value of this enum
- getValue() - Method in enum class org.freedesktop.cairo.TextClusterFlags
-
Return the value of this enum
- getVariations() - Method in class org.freedesktop.cairo.FontOptions
-
Gets the OpenType font variations for the font options object.
- getVersions() - Static method in enum class org.freedesktop.cairo.PDFVersion
-
Used to retrieve the list of supported versions.
- getVersions() - Static method in enum class org.freedesktop.cairo.SVGVersion
-
Used to retrieve the list of supported versions.
- getWeight() - Method in class org.freedesktop.cairo.ToyFontFace
-
Gets the weight a toy font.
- getWidth() - Method in class org.freedesktop.cairo.ImageSurface
-
Get the width of the image surface in pixels.
- GL - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type OpenGL
- GL - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (OpenGL support have been removed, this surface type will never be set by cairo)
- GLITZ - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (glitz support have been removed, this surface type will never be set by cairo)
- Glyph - Class in org.freedesktop.cairo
-
The Glyph structure holds information about a single glyph when drawing or measuring text.
- Glyph(MemorySegment) - Constructor for class org.freedesktop.cairo.Glyph
-
Constructor used internally to instantiate a java Glyph object for a native
cairo_glyph_t
instance - glyphExtents(Glyphs, TextExtents) - Method in class org.freedesktop.cairo.Context
-
Gets the extents for an array of glyphs.
- glyphExtents(Glyphs, TextExtents) - Method in class org.freedesktop.cairo.ScaledFont
-
Gets the extents for an array of glyphs.
- glyphPath(Glyphs) - Method in class org.freedesktop.cairo.Context
-
Adds closed paths for the glyphs to the current path.
- Glyphs - Class in org.freedesktop.cairo
-
The
Glyphs
class represents an array of glyphs. - GOOD - Enum constant in enum class org.freedesktop.cairo.Antialias
-
The backend should balance quality against performance
- GOOD - Enum constant in enum class org.freedesktop.cairo.Dither
-
An algorithm with smoother dithering than FAST
- GOOD - Enum constant in enum class org.freedesktop.cairo.Filter
-
A reasonable-performance filter, with quality similar to
Filter.BILINEAR
- Gradient - Class in org.freedesktop.cairo
-
Base class for (linear or radial) gradient patterns.
- Gradient(MemorySegment) - Constructor for class org.freedesktop.cairo.Gradient
-
Constructor used internally to instantiate a java GradientPattern object for a native
cairo_pattern_t
instance - GRAY - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Perform single-color antialiasing (using shades of gray for black text on a white background, for example)
- green() - Method in record class org.freedesktop.cairo.RGBA
-
Returns the value of the
green
record component.
H
- handle() - Method in class io.github.jwharm.cairobindings.Proxy
-
Get the memory address of the instance
- HARD_LIGHT - Enum constant in enum class org.freedesktop.cairo.Operator
-
Multiplies or screens, dependent on source color.
- hasCurrentPoint() - Method in class org.freedesktop.cairo.Context
-
Returns whether a current point is defined on the current path.
- hashCode() - Method in record class io.github.jwharm.cairobindings.ArenaCloseAction
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.jwharm.cairobindings.Proxy
-
Returns the hashcode of the memory address
- hashCode() - Method in record class org.freedesktop.cairo.Circle
-
Returns a hash code value for this object.
- hashCode() - Method in class org.freedesktop.cairo.FontOptions
-
Compute a hash for the font options object; this value will be useful when storing an object containing FontOptions in a hash table.
- hashCode() - Method in record class org.freedesktop.cairo.PathElement.ClosePath
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.PathElement.LineTo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.PathElement.MoveTo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.Point
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.Rect
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.freedesktop.cairo.RGBA
-
Returns a hash code value for this object.
- hasShowTextGlyphs() - Method in class org.freedesktop.cairo.Surface
-
Returns whether the surface supports sophisticated
Context.showTextGlyphs(java.lang.String, org.freedesktop.cairo.Glyphs)
operations. - height() - Method in class org.freedesktop.cairo.FontExtents
-
The recommended vertical distance between baselines when setting consecutive lines of text with the font.
- height() - Method in record class org.freedesktop.cairo.Rect
-
Returns the value of the
height
record component. - height() - Method in class org.freedesktop.cairo.Rectangle
-
Get the height value of the Rectangle
- height() - Method in class org.freedesktop.cairo.RectangleInt
-
Get the height value of the RectangleInt
- height() - Method in class org.freedesktop.cairo.TextExtents
-
Height of the glyphs as drawn
- HintMetrics - Enum Class in org.freedesktop.cairo
-
Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space.
- HintStyle - Enum Class in org.freedesktop.cairo
-
Specifies the type of hinting to do on font outlines.
- HSL_COLOR - Enum constant in enum class org.freedesktop.cairo.Operator
-
Creates a color with the hue and saturation of the source and the luminosity of the target.
- HSL_HUE - Enum constant in enum class org.freedesktop.cairo.Operator
-
Creates a color with the hue of the source and the saturation and luminosity of the target.
- HSL_LUMINOSITY - Enum constant in enum class org.freedesktop.cairo.Operator
-
Creates a color with the luminosity of the source and the hue and saturation of the target.
- HSL_SATURATION - Enum constant in enum class org.freedesktop.cairo.Operator
-
Creates a color with the saturation of the source and the hue and luminosity of the target.
I
- identityMatrix() - Method in class org.freedesktop.cairo.Context
-
Resets the current transformation matrix (CTM) by setting it equal to the identity matrix.
- IMAGE - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type image
- ImageSurface - Class in org.freedesktop.cairo
-
Image Surfaces — Rendering to memory buffers.
- ImageSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.ImageSurface
-
Constructor used internally to instantiate a java ImageSurface object for a native
cairo_image_surface_t
instance - IN - Enum constant in enum class org.freedesktop.cairo.Operator
-
draw source where there was destination content (unbounded)
- IN - Enum constant in enum class org.freedesktop.cairo.RegionOverlap
-
The contents are entirely inside the region.
- IN - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Inches (1in = 2.54cm = 96px).
- inClip(double, double) - Method in class org.freedesktop.cairo.Context
-
Tests whether the given point is inside the area that would be visible through the current clip, i.e.
- index() - Method in class org.freedesktop.cairo.Glyph
-
Glyph index in the font.
- index(int) - Method in class org.freedesktop.cairo.TeeSurface
-
Retrieves the replica surface at the given index.
- inFill(double, double) - Method in class org.freedesktop.cairo.Context
-
Tests whether the given point is inside the area that would be affected by a
Context.fill()
operation given the current path and filling parameters. - init(double, double, double, double, double, double) - Method in class org.freedesktop.cairo.Matrix
-
Sets the matrix to be the affine transformation given by
xx
,yx
,xy
,yy
,x0
,y0
. - init(UserScaledFont, Context, FontExtents) - Method in interface org.freedesktop.cairo.UserScaledFontInitFunc
-
Called when a scaled-font needs to be created for a user font-face.
- initFreeType() - Static method in class org.freedesktop.freetype.Library
-
Initialize a new FreeType library object.
- initIdentity() - Method in class org.freedesktop.cairo.Matrix
-
Modifies the matrix to be an identity transformation.
- initTranslate(double, double) - Method in class org.freedesktop.cairo.Matrix
-
Initializes the matrix to a transformation that translates by
tx
andty
in the X and Y dimensions, respectively. - inkExtents() - Method in class org.freedesktop.cairo.RecordingSurface
-
Measures the extents of the operations stored within the recording-surface.
- inStroke(double, double) - Method in class org.freedesktop.cairo.Context
-
Tests whether the given point is inside the area that would be affected by a
Context.stroke()
operation given the current path and stroking parameters. - Interop - Class in io.github.jwharm.cairobindings
-
The Interop class contains functionality for interoperability with native code.
- intersect(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Computes the intersection of this region with
rectangle
and places the result in this region - intersect(Region) - Method in class org.freedesktop.cairo.Region
-
Computes the intersection of this region with
other
and places the result in this region - intToEnumSet(Class<T>, Function<Integer, T>, int) - Static method in class io.github.jwharm.cairobindings.Interop
-
Create an EnumSet of class `cls` from the provided bitfield
- INVALID - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is invalid
- INVALID - Enum constant in enum class org.freedesktop.cairo.Format
-
no such format exists or is supported.
- INVALID_CLUSTERS - Enum constant in enum class org.freedesktop.cairo.Status
-
input clusters do not represent the accompanying text and glyph array
- INVALID_CONTENT - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input cairo_content_t
- INVALID_DASH - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for a dash setting
- INVALID_DSC_COMMENT - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for a DSC comment
- INVALID_FORMAT - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input cairo_format_t
- INVALID_INDEX - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid index passed to getter
- INVALID_MATRIX - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid matrix (not invertible)
- INVALID_MESH_CONSTRUCTION - Enum constant in enum class org.freedesktop.cairo.Status
-
a mesh pattern construction operation was used outside of a cairo_mesh_pattern_begin_patch()/cairo_mesh_pattern_end_patch() pair
- INVALID_PATH_DATA - Enum constant in enum class org.freedesktop.cairo.Status
-
input path data not valid
- INVALID_POP_GROUP - Enum constant in enum class org.freedesktop.cairo.Status
-
no saved group to pop, i.e.
- INVALID_RESTORE - Enum constant in enum class org.freedesktop.cairo.Status
-
cairo_restore() called without matching cairo_save()
- INVALID_SIZE - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value (typically too big) for the size of the input (surface, pattern, etc.)
- INVALID_SLANT - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input cairo_font_slant_t
- INVALID_STATUS - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input t
- INVALID_STRIDE - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for stride
- INVALID_STRING - Enum constant in enum class org.freedesktop.cairo.Status
-
input string not valid UTF-8
- INVALID_VISUAL - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input Visual*
- INVALID_WEIGHT - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid value for an input cairo_font_weight_t
- invert() - Method in class org.freedesktop.cairo.Matrix
-
Changes the matrix to be the inverse of its original value.
- io.github.jwharm.cairobindings - package io.github.jwharm.cairobindings
-
This package contains functionality that the cairo java bindings need to load native libraries and call native functions.
- isEmpty() - Method in class org.freedesktop.cairo.Region
-
Checks whether this region is empty.
- ITALIC - Enum constant in enum class org.freedesktop.cairo.FontSlant
-
Italic font style
- ITALIC - Enum constant in enum class org.freedesktop.cairo.PDFOutlineFlags
-
The outline item is displayed by the viewer in italic text
- iterator() - Method in class org.freedesktop.cairo.Path
-
Iterates through the path.
J
- Java API - Search tag in package org.freedesktop.cairo
- Section
- JBIG2 - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Joint Bi-level Image Experts Group image coding standard (ISO/IEC 11544).
- JBIG2_GLOBAL - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Joint Bi-level Image Experts Group image coding standard (ISO/IEC 11544) global segment.
- JBIG2_GLOBAL_ID - Enum constant in enum class org.freedesktop.cairo.MimeType
-
An unique identifier shared by a JBIG2 global segment and all JBIG2 images that depend on the global segment.
- JBIG2_GLOBAL_MISSING - Enum constant in enum class org.freedesktop.cairo.Status
-
CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID has been used on at least one image but no image provided CAIRO_MIME_TYPE_JBIG2_GLOBAL
- JP2 - Enum constant in enum class org.freedesktop.cairo.MimeType
-
The Joint Photographic Experts Group (JPEG) 2000 image coding standard (ISO/IEC 15444-1).
- JPEG - Enum constant in enum class org.freedesktop.cairo.MimeType
-
The Joint Photographic Experts Group (JPEG) image coding standard (ISO/IEC 10918-1).
K
- KEYWORDS - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document keywords
L
- LAST_STATUS - Enum constant in enum class org.freedesktop.cairo.Status
-
this is a special value indicating the number of status values defined in this enumeration.
- LEVEL_2 - Enum constant in enum class org.freedesktop.cairo.PSLevel
-
The language level 2 of the PostScript specification.
- LEVEL_3 - Enum constant in enum class org.freedesktop.cairo.PSLevel
-
The language level 3 of the PostScript specification.
- LibLoad - Class in io.github.jwharm.cairobindings
-
The LibLoad class is used internally to load native libraries by name
- Library - Class in org.freedesktop.freetype
-
Functions to start and end the usage of the FreeType library.
- Library(MemorySegment) - Constructor for class org.freedesktop.freetype.Library
-
Constructor used internally to instantiate a java Library object for a native
FT_Library
instance - LIGHTEN - Enum constant in enum class org.freedesktop.cairo.Operator
-
replaces the destination with the source if it is lighter, otherwise keeps the source.
- LINE_TO - Enum constant in enum class org.freedesktop.cairo.PathDataType
-
A line-to operation
- LINEAR - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a linear gradient
- LinearGradient - Class in org.freedesktop.cairo
-
A linear gradient pattern.
- LinearGradient(MemorySegment) - Constructor for class org.freedesktop.cairo.LinearGradient
-
Constructor used internally to instantiate a java LinearPattern object for a native
cairo_pattern_t
instance - LineCap - Enum Class in org.freedesktop.cairo
-
Specifies how to render the endpoints of the path when stroking.
- LineJoin - Enum Class in org.freedesktop.cairo
-
Specifies how to render the junction of two lines when stroking.
- lineTo(double, double) - Method in class org.freedesktop.cairo.Context
-
Adds a line to the path from the current point to position
(x, y)
in user-space coordinates. - lineTo(double, double) - Method in class org.freedesktop.cairo.Mesh
-
Adds a line to the current patch from the current point to position (x, y) in pattern-space coordinates.
- LineTo(double, double) - Constructor for record class org.freedesktop.cairo.PathElement.LineTo
-
Creates an instance of a
LineTo
record class. - loadLibrary(String) - Static method in class io.github.jwharm.cairobindings.LibLoad
-
Load the native library with the provided name
- lockFace() - Method in class org.freedesktop.cairo.FTScaledFont
-
Gets the FT_Face object from a FreeType backend font and scales it appropriately for the font and applies OpenType font variations if applicable.
M
- mapToImage(RectangleInt) - Method in class org.freedesktop.cairo.Surface
-
Returns an image surface that is the most efficient mechanism for modifying the backing store of the target surface.
- markDirty() - Method in class org.freedesktop.cairo.Surface
-
Tells cairo that drawing has been done to surface using means other than cairo, and that cairo should reread any cached areas.
- markDirtyRectangle(int, int, int, int) - Method in class org.freedesktop.cairo.Surface
-
Like
Surface.markDirty()
, but drawing has been done only to the specified rectangle, so that cairo can retain cached contents for other parts of the surface. - mask(Pattern) - Method in class org.freedesktop.cairo.Context
-
A drawing operator that paints the current source using the alpha channel of pattern as a mask.
- mask(Surface, double, double) - Method in class org.freedesktop.cairo.Context
-
A drawing operator that paints the current source using the alpha channel of surface as a mask.
- Matrix - Class in org.freedesktop.cairo
-
Generic matrix operations.
- Matrix(MemorySegment) - Constructor for class org.freedesktop.cairo.Matrix
-
Constructor used internally to instantiate a java Matrix object for a native
cairo_matrix_t
instance - maxXAdvance() - Method in class org.freedesktop.cairo.FontExtents
-
The maximum distance in the X direction that the origin is advanced for any glyph in the font.
- maxYAdvance() - Method in class org.freedesktop.cairo.FontExtents
-
The maximum distance in the Y direction that the origin is advanced for any glyph in the font.
- MEDIUM - Enum constant in enum class org.freedesktop.cairo.HintStyle
-
Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast
- MemoryCleaner - Class in io.github.jwharm.cairobindings
-
This class keeps a cache of all memory addresses for which a Proxy object was created (except for GObject instances; those are handled in the InstanceCache).
- merge(FontOptions) - Method in class org.freedesktop.cairo.FontOptions
-
Merges non-default options from other into this FontOptions, replacing existing values.
- Mesh - Class in org.freedesktop.cairo
-
A mesh pattern.
- Mesh(MemorySegment) - Constructor for class org.freedesktop.cairo.Mesh
-
Constructor used internally to instantiate a java MeshPattern object for a native
cairo_pattern_t
instance - MESH - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a mesh
- MimeType - Enum Class in org.freedesktop.cairo
-
MIME types defined as constants in Cairo.
- MITER - Enum constant in enum class org.freedesktop.cairo.LineJoin
-
use a sharp (angled) corner, see cairo_set_miter_limit()
- MM - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Millimeters (1mm = 1/10th of 1cm).
- MOD_DATE - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document modification date
- MOVE_TO - Enum constant in enum class org.freedesktop.cairo.PathDataType
-
A move-to operation
- moveTo(double, double) - Method in class org.freedesktop.cairo.Context
-
Begin a new sub-path.
- moveTo(double, double) - Method in class org.freedesktop.cairo.Mesh
-
Define the first point of the current patch in a mesh pattern.
- MoveTo(double, double) - Constructor for record class org.freedesktop.cairo.PathElement.MoveTo
-
Creates an instance of a
MoveTo
record class. - multiply(Matrix, Matrix) - Method in class org.freedesktop.cairo.Matrix
-
Multiplies the affine transformations in this matrix and the provided matrix together and stores the result in the resulting matrix.
- MULTIPLY - Enum constant in enum class org.freedesktop.cairo.Operator
-
source and destination layers are multiplied.
N
- NEAREST - Enum constant in enum class org.freedesktop.cairo.Filter
-
Nearest-neighbor filtering
- NEGATIVE_COUNT - Enum constant in enum class org.freedesktop.cairo.Status
-
negative number used where it is not allowed
- newFace(Library, String, long) - Static method in class org.freedesktop.freetype.Face
-
Call
FT_Open_Face
to open a font by its pathname. - newPath() - Method in class org.freedesktop.cairo.Context
-
Clears the current path.
- newSubPath() - Method in class org.freedesktop.cairo.Context
-
Begin a new sub-path.
- NO_COLOR - Enum constant in enum class org.freedesktop.cairo.ColorMode
-
Disable rendering color glyphs.
- NO_CURRENT_POINT - Enum constant in enum class org.freedesktop.cairo.Status
-
no current point defined
- NO_MEMORY - Enum constant in enum class org.freedesktop.cairo.Status
-
out of memory
- NONE - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Use a bilevel alpha mask
- NONE - Enum constant in enum class org.freedesktop.cairo.Dither
-
No dithering.
- NONE - Enum constant in enum class org.freedesktop.cairo.Extend
-
pixels outside of the source pattern are fully transparent
- NONE - Enum constant in enum class org.freedesktop.cairo.HintStyle
-
Do not hint outlines
- NORMAL - Enum constant in enum class org.freedesktop.cairo.FontSlant
-
Upright font style
- NORMAL - Enum constant in enum class org.freedesktop.cairo.FontWeight
-
Normal font weight
- NORMAL - Enum constant in enum class org.freedesktop.cairo.SurfaceObserverMode
-
no recording is done
- NULL_POINTER - Enum constant in enum class org.freedesktop.cairo.Status
-
NULL pointer
- numBytes() - Method in class org.freedesktop.cairo.TextCluster
-
The number of bytes of UTF-8 text covered by the cluster
- numGlyphs() - Method in class org.freedesktop.cairo.TextCluster
-
The number of glyphs covered by cluster
- numRectangles() - Method in class org.freedesktop.cairo.Region
-
Returns the number of rectangles contained in this region.
O
- OBLIQUE - Enum constant in enum class org.freedesktop.cairo.FontSlant
-
Oblique font style
- OBLIQUE - Enum constant in enum class org.freedesktop.cairo.FTSynthesize
-
Slant the glyph outline by 12 degrees to the right.
- observerElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the total elapsed time of the observation.
- observerFillElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the elapsed time of the fill operations.
- observerGlyphsElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the elapsed time of the glyph operations.
- observerMaskElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the elapsed time of the mask operations.
- observerPaintElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the elapsed time of the paint operations.
- observerPrint(OutputStream) - Method in class org.freedesktop.cairo.Device
-
Prints the device log using the given OutputStream.
- observerStrokeElapsed() - Method in class org.freedesktop.cairo.Device
-
Returns the elapsed time of the stroke operations.
- of(int) - Static method in enum class org.freedesktop.cairo.Antialias
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.ColorMode
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Content
-
Returns the enum member for the given value.
- of(int) - Static method in enum class org.freedesktop.cairo.DeviceType
-
Returns the enum member for the given value.
- of(int) - Static method in enum class org.freedesktop.cairo.Dither
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Extend
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.FillRule
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Filter
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.FontSlant
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.FontType
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.FontWeight
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Format
-
Returns the enum member for the given value.
- of(int) - Static method in enum class org.freedesktop.cairo.FTSynthesize
-
Create an FTSynthesize enum for this value
- of(int) - Static method in enum class org.freedesktop.cairo.HintMetrics
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.HintStyle
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.LineCap
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.LineJoin
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.MimeType
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Operator
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PathDataType
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PatternType
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PDFMetadata
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PDFOutlineFlags
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PDFVersion
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.PSLevel
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.RegionOverlap
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.ScriptMode
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.Status
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.SubpixelOrder
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.SurfaceObserverMode
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.SurfaceType
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.SVGUnit
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.SVGVersion
-
Returns the enum constant for the given ordinal (its position in the enum declaration).
- of(int) - Static method in enum class org.freedesktop.cairo.TextClusterFlags
-
Returns the enum member for the given value.
- OFF - Enum constant in enum class org.freedesktop.cairo.HintMetrics
-
Do not hint font metrics
- ON - Enum constant in enum class org.freedesktop.cairo.HintMetrics
-
Hint font metrics
- OPEN - Enum constant in enum class org.freedesktop.cairo.PDFOutlineFlags
-
The outline item defaults to open in the PDF viewer
- Operator - Enum Class in org.freedesktop.cairo
-
cairo_operator_t is used to set the compositing operator for all cairo drawing operations.
- org.freedesktop.cairo - module org.freedesktop.cairo
-
This module contains Java language bindings for the cairo graphics library using the JEP-454 Panama FFI.
- org.freedesktop.cairo - package org.freedesktop.cairo
-
This package contains Java language bindings for the cairo graphics library using the JEP-454 Panama FFI.
- org.freedesktop.freetype - package org.freedesktop.freetype
-
Minimal wrapper for FreeType, for use with cairo FTFontFace and FTScaledFont.
- OS2 - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (os2 support have been removed, this surface type will never be set by cairo)
- Other notable features - Search tag in package org.freedesktop.cairo
- Section
- OUT - Enum constant in enum class org.freedesktop.cairo.Operator
-
draw source where there was no destination content (unbounded)
- OUT - Enum constant in enum class org.freedesktop.cairo.RegionOverlap
-
The contents are entirely outside the region.
- OVER - Enum constant in enum class org.freedesktop.cairo.Operator
-
draw source layer on top of destination layer (bounded)
- OVERLAY - Enum constant in enum class org.freedesktop.cairo.Operator
-
multiplies or screens, depending on the lightness of the destination color.
- Overview - Search tag in package org.freedesktop.cairo
- Section
P
- PAD - Enum constant in enum class org.freedesktop.cairo.Extend
-
pixels outside of the pattern copy the closest pixel from the source
- paint() - Method in class org.freedesktop.cairo.Context
-
A drawing operator that paints the current source everywhere within the current clip region.
- paintWithAlpha(double) - Method in class org.freedesktop.cairo.Context
-
A drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value
alpha
. - PART - Enum constant in enum class org.freedesktop.cairo.RegionOverlap
-
The contents are partially inside and partially outside the region.
- Path - Class in org.freedesktop.cairo
-
A data structure for holding a path.
- Path(MemorySegment) - Constructor for class org.freedesktop.cairo.Path
-
Constructor used internally to instantiate a java Path object for a native
cairo_path_t
instance - PathDataType - Enum Class in org.freedesktop.cairo
-
Describes the type of one portion of a path when represented as a
Path
. - PathElement - Interface in org.freedesktop.cairo
-
The PathElement interface is a sealed type that models Path elements.
- PathElement.ClosePath - Record Class in org.freedesktop.cairo
-
A
PathDataType.CLOSE_PATH
path element - PathElement.CurveTo - Record Class in org.freedesktop.cairo
-
A
PathDataType.CURVE_TO
path element - PathElement.LineTo - Record Class in org.freedesktop.cairo
-
A
PathDataType.LINE_TO
path element - PathElement.MoveTo - Record Class in org.freedesktop.cairo
-
A
PathDataType.MOVE_TO
path element - pathExtents() - Method in class org.freedesktop.cairo.Context
-
Computes a bounding box in user-space coordinates covering the points on the current path.
- Pattern - Class in org.freedesktop.cairo
-
Sources for drawing.
- Pattern(MemorySegment) - Constructor for class org.freedesktop.cairo.Pattern
-
Constructor used internally to instantiate a java Pattern object for a native
cairo_pattern_t
instance - PATTERN_TYPE_MISMATCH - Enum constant in enum class org.freedesktop.cairo.Status
-
the pattern type is not appropriate for the operation
- PatternType - Enum Class in org.freedesktop.cairo
-
PatternType is used to describe the type of a given pattern.
- PC - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Picas (1pc = 1/6th of 1in).
- PDF - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type pdf
- PDFMetadata - Enum Class in org.freedesktop.cairo
-
PDFMetadata
is used by the cairo_pdf_surface_set_metadata() function specify the metadata to set. - PDFOutlineFlags - Enum Class in org.freedesktop.cairo
-
PDFOutlineFlags
is used by the cairo_pdf_surface_add_outline() function specify the attributes of an outline item. - PDFSurface - Class in org.freedesktop.cairo
-
The PDF surface is used to render cairo graphics to Adobe PDF files and is a multi-page vector surface backend.
- PDFSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.PDFSurface
-
Constructor used internally to instantiate a java PDFSurface object for a native
cairo_surface_t
instance - PDFVersion - Enum Class in org.freedesktop.cairo
-
PDFVersion
is used to describe the version number of the PDF specification that a generated PDF file will conform to. - PERCENT - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Percent, a value that is some fraction of another reference value.
- Platform - Class in io.github.jwharm.cairobindings
-
The Platform class provides utility functions to retrieve the runtime platform and check if a function is supported on the runtime platform.
- PNG - Enum constant in enum class org.freedesktop.cairo.MimeType
-
The Portable Network Graphics image file format (ISO/IEC 15948).
- PNG_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in libpng while reading from or writing to a PNG file
- Point - Record Class in org.freedesktop.cairo
-
A Point defined by its x and y coordinates.
- Point(double, double) - Constructor for record class org.freedesktop.cairo.Point
-
Creates an instance of a
Point
record class. - popGroup() - Method in class org.freedesktop.cairo.Context
-
Terminates the redirection begun by a call to
Context.pushGroup()
orContext.pushGroupWithContent(Content)
and returns a new pattern containing the results of all drawing operations performed to the group. - popGroupToSource() - Method in class org.freedesktop.cairo.Context
-
Terminates the redirection begun by a call to
Context.pushGroup()
orContext.pushGroupWithContent(Content)
and installs the resulting pattern as the source pattern in the given cairo context. - print(WriteFunc) - Method in class org.freedesktop.cairo.SurfaceObserver
-
Prints the observer log using the given callback.
- Proxy - Class in io.github.jwharm.cairobindings
-
Base type for a Java proxy object to an instance in native memory.
- Proxy(MemorySegment) - Constructor for class io.github.jwharm.cairobindings.Proxy
-
Create a new
Proxy
object for an instance in native memory. - PS - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type ps
- PSLevel - Enum Class in org.freedesktop.cairo
-
PSLevel is used to describe the language level of the PostScript Language Reference that a generated PostScript file will conform to.
- PSSurface - Class in org.freedesktop.cairo
-
The PostScript surface is used to render cairo graphics to Adobe PostScript files and is a multi-page vector surface backend.
- PSSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.PSSurface
-
Constructor used internally to instantiate a java PSSurface object for a native
cairo_surface_t
instance - PT - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Points (1pt = 1/72th of 1in).
- pushGroup() - Method in class org.freedesktop.cairo.Context
-
Temporarily redirects drawing to an intermediate surface known as a group.
- pushGroupWithContent(Content) - Method in class org.freedesktop.cairo.Context
-
Temporarily redirects drawing to an intermediate surface known as a group.
- PX - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
Pixels (1px = 1/96th of 1in).
Q
- QT - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (Qt support have been removed, this surface type will never be set by cairo)
- QUARTZ - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font is of type Quartz
- QUARTZ - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type quartz
- QUARTZ_IMAGE - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type quartz_image
R
- RADIAL - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a radial gradient
- RadialGradient - Class in org.freedesktop.cairo
-
A radial gradient pattern.
- RadialGradient(MemorySegment) - Constructor for class org.freedesktop.cairo.RadialGradient
-
Constructor used internally to instantiate a java RadialPattern object for a native
cairo_pattern_t
instance - radius() - Method in record class org.freedesktop.cairo.Circle
-
Returns the value of the
radius
record component. - RASTER_SOURCE - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a user pattern providing raster data
- RasterSource - Class in org.freedesktop.cairo
-
A user pattern providing raster data.
- RasterSource(MemorySegment) - Constructor for class org.freedesktop.cairo.RasterSource
-
Constructor used internally to instantiate a java RasterSource object for a native
cairo_pattern_t
instance - RasterSourceAcquireFunc - Interface in org.freedesktop.cairo
-
RasterSourceAcquireFunc is the type of function which is called when a pattern is being rendered from.
- RasterSourceCopyFunc - Interface in org.freedesktop.cairo
-
RasterSourceCopyFunc is the type of function which is called when the pattern gets copied as a normal part of rendering.
- RasterSourceFinishFunc - Interface in org.freedesktop.cairo
-
RasterSourceFinishFunc is the type of function which is called when the pattern (or a copy thereof) is no longer required.
- RasterSourceReleaseFunc - Interface in org.freedesktop.cairo
-
RasterSourceReleaseFunc is the type of function which is called when the pixel data is no longer being access by the pattern for the rendering operation.
- RasterSourceSnapshotFunc - Interface in org.freedesktop.cairo
-
RasterSourceSnapshotFunc is the type of function which is called when the pixel data needs to be preserved for later use during printing.
- read(int) - Method in interface org.freedesktop.cairo.ReadFunc
-
The function to implement as callback in a read operation from an input stream.
- READ_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error while reading from input stream
- ReadFunc - Interface in org.freedesktop.cairo
-
ReadFunc is the type of function which is called when a backend needs to read data from an input stream.
- RECORD_OPERATIONS - Enum constant in enum class org.freedesktop.cairo.SurfaceObserverMode
-
operations are recorded
- RECORDING - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type recording
- RecordingSurface - Class in org.freedesktop.cairo
-
A recording surface records all drawing operations.
- RecordingSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.RecordingSurface
-
Constructor used internally to instantiate a java RecordingSurface object for a native
cairo_surface_t
instance - Rect - Record Class in org.freedesktop.cairo
-
A rectangle.
- Rect(double, double, double, double) - Constructor for record class org.freedesktop.cairo.Rect
-
Creates an instance of a
Rect
record class. - rectangle(double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Adds a closed sub-path rectangle of the given size to the current path at position (
x
,y
) in user-space coordinates. - Rectangle - Class in org.freedesktop.cairo
-
A data structure for holding a rectangle.
- Rectangle(MemorySegment) - Constructor for class org.freedesktop.cairo.Rectangle
-
Constructor used internally to instantiate a java Rectangle object for a native
cairo_rectangle_t
instance - RectangleInt - Class in org.freedesktop.cairo
-
A data structure for holding a rectangle with integer coordinates.
- RectangleInt(MemorySegment) - Constructor for class org.freedesktop.cairo.RectangleInt
-
Constructor used internally to instantiate a java RectangleInt object for a native
cairo_rectangle_int_t
instance - RectangleList - Class in org.freedesktop.cairo
-
A data structure for holding a dynamically allocated array of rectangles.
- RectangleList(MemorySegment) - Constructor for class org.freedesktop.cairo.RectangleList
-
Constructor used internally to instantiate a java RectangleList object for a native
cairo_rectangle_list_t
instance - rectangles() - Method in class org.freedesktop.cairo.RectangleList
-
Read the rectangles field of the RectangleList.
- red() - Method in record class org.freedesktop.cairo.RGBA
-
Returns the value of the
red
record component. - REFLECT - Enum constant in enum class org.freedesktop.cairo.Extend
-
the pattern is tiled by reflecting at the edges
- Region - Class in org.freedesktop.cairo
-
A
Region
represents a set of integer-aligned rectangles. - Region(MemorySegment) - Constructor for class org.freedesktop.cairo.Region
-
Constructor used internally to instantiate a java Region object for a native
cairo_region_t
instance - RegionOverlap - Enum Class in org.freedesktop.cairo
-
Used as the return value for cairo_region_contains_rectangle().
- register(Proxy) - Static method in class io.github.jwharm.cairobindings.MemoryCleaner
-
Register the memory address of this proxy to be cleaned when the proxy gets garbage-collected.
- relCurveTo(double, double, double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Relative-coordinate version of
Context.curveTo(double, double, double, double, double, double)
. - release() - Method in class org.freedesktop.cairo.Device
-
Releases a device previously acquired using
Device.acquire()
. - release(RasterSource, Surface) - Method in interface org.freedesktop.cairo.RasterSourceReleaseFunc
-
Called when the pixel data is no longer being access by the pattern for the rendering operation.
- relLineTo(double, double) - Method in class org.freedesktop.cairo.Context
-
Relative-coordinate version of
Context.lineTo(double, double)
. - relMoveTo(double, double) - Method in class org.freedesktop.cairo.Context
-
Begin a new sub-path.
- remove(Surface) - Method in class org.freedesktop.cairo.TeeSurface
-
Removes the given surface from the list of replicas of a tee surface.
- renderGlyph(UserScaledFont, long, Context, FontExtents) - Method in interface org.freedesktop.cairo.UserScaledFontRenderGlyphFunc
-
called when a user scaled-font needs to render a glyph.
- REPEAT - Enum constant in enum class org.freedesktop.cairo.Extend
-
the pattern is tiled by repeating
- resetClip() - Method in class org.freedesktop.cairo.Context
-
Reset the current clip region to its original, unrestricted state.
- Resource allocation and disposal - Search tag in package org.freedesktop.cairo
- Section
- restore() - Method in class org.freedesktop.cairo.Context
-
Restores the context to the state saved by a preceding call to
Context.save()
and removes that state from the stack of saved states. - restrictToLevel(PSLevel) - Method in class org.freedesktop.cairo.PSSurface
-
Restricts the generated PostSript file to
level
. - restrictToVersion(PDFVersion) - Method in class org.freedesktop.cairo.PDFSurface
-
Restricts the generated PDF file to version .
- restrictToVersion(SVGVersion) - Method in class org.freedesktop.cairo.SVGSurface
-
Restricts the generated SVG file to version .
- RGB - Enum constant in enum class org.freedesktop.cairo.SubpixelOrder
-
Subpixel elements are arranged horizontally with red at the left
- RGB16_565 - Enum constant in enum class org.freedesktop.cairo.Format
-
each pixel is a 16-bit quantity with red in the upper 5 bits, then green in the middle 6 bits, and blue in the lower 5 bits.
- RGB24 - Enum constant in enum class org.freedesktop.cairo.Format
-
each pixel is a 32-bit quantity, with the upper 8 bits unused.
- RGB30 - Enum constant in enum class org.freedesktop.cairo.Format
-
like RGB24 but with 10bpc.
- RGB96F - Enum constant in enum class org.freedesktop.cairo.Format
-
3 floats, R, G, B.
- RGBA - Record Class in org.freedesktop.cairo
-
A color with red, green, blue and alpha components
- RGBA(double, double, double, double) - Constructor for record class org.freedesktop.cairo.RGBA
-
Creates an instance of a
RGBA
record class. - RGBA128F - Enum constant in enum class org.freedesktop.cairo.Format
-
4 floats, R, G, B, A.
- rotate(double) - Method in class org.freedesktop.cairo.Context
-
Modifies the current transformation matrix (CTM) by rotating the user-space axes by
angle
radians. - rotate(double) - Method in class org.freedesktop.cairo.Matrix
-
Applies rotation by
radians
to the transformation in the matrix. - ROUND - Enum constant in enum class org.freedesktop.cairo.LineCap
-
use a round ending, the center of the circle is the end point
- ROUND - Enum constant in enum class org.freedesktop.cairo.LineJoin
-
use a rounded join, the center of the circle is the joint point
- run() - Method in record class io.github.jwharm.cairobindings.ArenaCloseAction
- run(Surface) - Method in interface org.freedesktop.cairo.SurfaceObserverCallback
-
A generic callback function for surface operations.
S
- SATURATE - Enum constant in enum class org.freedesktop.cairo.Operator
-
like over, but assuming source and dest are disjoint geometries
- save() - Method in class org.freedesktop.cairo.Context
-
Makes a copy of the current state of the context and saves it on an internal stack of saved states for the context.
- scale(double, double) - Method in class org.freedesktop.cairo.Context
-
Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by
sx
andsy
respectively. - scale(double, double) - Method in class org.freedesktop.cairo.Matrix
-
Applies scaling by
sx, sy
to the transformation in the matrix. - ScaledFont - Class in org.freedesktop.cairo
-
Font face at particular size and options.
- ScaledFont(MemorySegment) - Constructor for class org.freedesktop.cairo.ScaledFont
-
Constructor used internally to instantiate a java ScaledFont object for a native
cairo_scaled_font_t
instance - SCREEN - Enum constant in enum class org.freedesktop.cairo.Operator
-
source and destination are complemented and multiplied.
- Script - Class in org.freedesktop.cairo
-
Output device for use with a
ScriptSurface
. - Script(MemorySegment) - Constructor for class org.freedesktop.cairo.Script
-
Constructor used internally to instantiate a java ScriptSurface object for a native
cairo_device_t
instance - SCRIPT - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type script
- SCRIPT - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type script
- ScriptMode - Enum Class in org.freedesktop.cairo
-
A set of script output variants.
- ScriptSurface - Class in org.freedesktop.cairo
-
The script surface provides the ability to render to a native script that matches the cairo drawing model.
- ScriptSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.ScriptSurface
-
Constructor used internally to instantiate a java ScriptSurface object for a native
cairo_surface_t
instance - selectFontFace(String, FontSlant, FontWeight) - Method in class org.freedesktop.cairo.Context
-
Note: The
selectFontFace()
method is part of what the cairo designers call the "toy" text API. - setAcquire(RasterSourceAcquireFunc, RasterSourceReleaseFunc) - Method in class org.freedesktop.cairo.RasterSource
-
Specifies the callbacks used to generate the image surface for a rendering operation (acquire) and the function used to cleanup that surface afterwards.
- setAntialias(Antialias) - Method in class org.freedesktop.cairo.Context
-
Set the antialiasing mode of the rasterizer used for drawing shapes.
- setAntialias(Antialias) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the antialiasing mode for the font options object.
- setClusterFlags(TextClusterFlags) - Method in class org.freedesktop.cairo.Glyphs
-
Set the text cluster flags
- setClustersPointer(MemorySegment) - Method in class org.freedesktop.cairo.Glyphs
-
Set a pointer to the clusters array
- setColorMode(ColorMode) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the color mode for the font options object.
- setColorPalette(int) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the OpenType font color palette for the font options object.
- setControlPoint(int, double, double) - Method in class org.freedesktop.cairo.Mesh
-
Set an internal control point of the current patch.
- setCopy(RasterSourceCopyFunc) - Method in class org.freedesktop.cairo.RasterSource
-
Updates the copy callback which is used whenever a temporary copy of the pattern is taken.
- setCornerColorRGB(int, double, double, double) - Method in class org.freedesktop.cairo.Mesh
-
Sets the color of a corner of the current patch in a mesh pattern.
- setCornerColorRGBA(int, double, double, double, double) - Method in class org.freedesktop.cairo.Mesh
-
Sets the color of a corner of the current patch in a mesh pattern.
- setCustomMetadata(String, String) - Method in class org.freedesktop.cairo.PDFSurface
-
Set custom document metadata.
- setCustomPaletteColor(int, double, double, double, double) - Method in class org.freedesktop.cairo.FontOptions
-
Sets a custom palette color for the font options object.
- setDash(double[], double) - Method in class org.freedesktop.cairo.Context
-
Sets the dash pattern to be used by
Context.stroke()
. - setDeviceOffset(double, double) - Method in class org.freedesktop.cairo.Surface
-
Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface .
- setDeviceScale(double, double) - Method in class org.freedesktop.cairo.Surface
-
Sets a scale that is multiplied to the device coordinates determined by the CTM when drawing to surface .
- setDither(Dither) - Method in class org.freedesktop.cairo.Pattern
-
Set the dithering mode of the rasterizer used for drawing shapes.
- setDocumentUnit(SVGUnit) - Method in class org.freedesktop.cairo.SVGSurface
-
Use the specified unit for the width and height of the generated SVG file.
- setEPS(boolean) - Method in class org.freedesktop.cairo.PSSurface
-
If eps is
true
, the PostScript surface will output Encapsulated PostScript. - setExtend(Extend) - Method in class org.freedesktop.cairo.Pattern
-
Sets the mode to be used for drawing outside the area of a pattern.
- setFallbackResolution(double, double) - Method in class org.freedesktop.cairo.Surface
-
Set the horizontal and vertical resolution for image fallbacks.
- setFillRule(FillRule) - Method in class org.freedesktop.cairo.Context
-
Set the current fill rule within the cairo context.
- setFilter(Filter) - Method in class org.freedesktop.cairo.Pattern
-
Sets the filter to be used for resizing when using this pattern.
- setFinish(RasterSourceFinishFunc) - Method in class org.freedesktop.cairo.RasterSource
-
Updates the finish callback which is used whenever a pattern (or a copy thereof) will no longer be used.
- setFontFace(FontFace) - Method in class org.freedesktop.cairo.Context
-
Replaces the current FontFace object in the Context with
fontFace
. - setFontMatrix(Matrix) - Method in class org.freedesktop.cairo.Context
-
Sets the current font matrix to
matrix
. - setFontOptions(FontOptions) - Method in class org.freedesktop.cairo.Context
-
Sets a set of custom font rendering options for the Context.
- setFontSize(double) - Method in class org.freedesktop.cairo.Context
-
Sets the current font matrix to a scale by a factor of
size
, replacing any font matrix previously set withsetFontSize()
orContext.setFontMatrix(Matrix)
. - setFreeFunc(MemorySegment, String) - Static method in class io.github.jwharm.cairobindings.MemoryCleaner
-
Register a specialized cleanup function for this memory address.
- setGlyphsPointer(MemorySegment) - Method in class org.freedesktop.cairo.Glyphs
-
Set a pointer to the glyphs array
- setHairLine(boolean) - Method in class org.freedesktop.cairo.Context
-
Sets lines within the cairo context to be hairlines.
- setHintMetrics(HintMetrics) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the metrics hinting mode for the font options object.
- setHintStyle(HintStyle) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the hint style for font outlines for the font options object.
- setInitFunc(UserScaledFontInitFunc) - Method in class org.freedesktop.cairo.UserFontFace
-
Sets the scaled-font initialization function of a user-font.
- setLineCap(LineCap) - Method in class org.freedesktop.cairo.Context
-
Sets the current line cap style within the cairo context.
- setLineJoin(LineJoin) - Method in class org.freedesktop.cairo.Context
-
Sets the current line join style within the cairo context.
- setLineWidth(double) - Method in class org.freedesktop.cairo.Context
-
Sets the current line width within the cairo context.
- setMatrix(Matrix) - Method in class org.freedesktop.cairo.Context
-
Modifies the current transformation matrix (CTM) by setting it equal to
matrix
. - setMatrix(Matrix) - Method in class org.freedesktop.cairo.Pattern
-
Sets the pattern's transformation matrix to
matrix
. - setMetadata(PDFMetadata, String) - Method in class org.freedesktop.cairo.PDFSurface
-
Set document metadata.
- setMimeData(MimeType, byte[]) - Method in class org.freedesktop.cairo.Surface
-
Attach an image in the format mimeType to the surface.
- setMiterLimit(double) - Method in class org.freedesktop.cairo.Context
-
Sets the current miter limit within the cairo context.
- setMode(ScriptMode) - Method in class org.freedesktop.cairo.Script
-
Change the output mode of the script
- setNumClusters(int) - Method in class org.freedesktop.cairo.Glyphs
-
Set the number of text clusters in the cluster array
- setNumGlyphs(int) - Method in class org.freedesktop.cairo.Glyphs
-
Set the number of glyphs in the array
- setOperator(Operator) - Method in class org.freedesktop.cairo.Context
-
Sets the compositing operator to be used for all drawing operations.
- setPageLabel(String) - Method in class org.freedesktop.cairo.PDFSurface
-
Set page label for the current page.
- setRenderColorGlyphFunc(UserScaledFontRenderGlyphFunc) - Method in class org.freedesktop.cairo.UserFontFace
-
Sets the color glyph rendering function of a user-font.
- setRenderGlyphFunc(UserScaledFontRenderGlyphFunc) - Method in class org.freedesktop.cairo.UserFontFace
-
Sets the glyph rendering function of a user-font.
- setScaledFont(ScaledFont) - Method in class org.freedesktop.cairo.Context
-
Replaces the current font face, font matrix, and font options in the
Context
with those of theScaledFont
. - setSize(double, double) - Method in class org.freedesktop.cairo.PDFSurface
-
Changes the size of a PDF surface for the current (and subsequent) pages.
- setSize(double, double) - Method in class org.freedesktop.cairo.PSSurface
-
Changes the size of a PostScript surface for the current (and subsequent) pages.
- setSnapshot(RasterSourceSnapshotFunc) - Method in class org.freedesktop.cairo.RasterSource
-
Sets the callback that will be used whenever a snapshot is taken of the pattern, that is whenever the current contents of the pattern should be preserved for later use.
- setSource(Pattern) - Method in class org.freedesktop.cairo.Context
-
Sets the source pattern within the context to source.
- setSource(Surface, double, double) - Method in class org.freedesktop.cairo.Context
-
This is a convenience function for creating a pattern from surface and setting it as the source with
Context.setSource(Pattern)
. - setSourceRGB(double, double, double) - Method in class org.freedesktop.cairo.Context
-
Sets the source pattern within the context to an opaque color.
- setSourceRGBA(double, double, double, double) - Method in class org.freedesktop.cairo.Context
-
Sets the source pattern within the context to a translucent color.
- setSubpixelOrder(SubpixelOrder) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the subpixel order for the font options object.
- setSynthesize(Set<FTSynthesize>) - Method in class org.freedesktop.cairo.FTFontFace
-
FreeType provides the ability to synthesize different glyphs from a base font, which is useful if you lack those glyphs from a true bold or oblique font.
- setTextToGlyphsFunc(UserScaledFontTextToGlyphsFunc) - Method in class org.freedesktop.cairo.UserFontFace
-
Sets th text-to-glyphs conversion function of a user-font.
- setThumbnailSize(int, int) - Method in class org.freedesktop.cairo.PDFSurface
-
Set the thumbnail image size for the current and all subsequent pages.
- setTolerance(double) - Method in class org.freedesktop.cairo.Context
-
Sets the tolerance used when converting paths into trapezoids.
- setUnicodeToGlyphFunc(UserScaledFontUnicodeToGlyphFunc) - Method in class org.freedesktop.cairo.UserFontFace
-
Sets the unicode-to-glyph conversion function of a user-font.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.Context
-
Attach user data to the context.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.Device
-
Attach user data to the device.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.FontFace
-
Attach user data to the font face.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.Pattern
-
Attach user data to the pattern.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.ScaledFont
-
Attach user data to the scaled font.
- setUserData(UserDataKey, MemorySegment) - Method in class org.freedesktop.cairo.Surface
-
Attach user data to the surface.
- setVariations(String) - Method in class org.freedesktop.cairo.FontOptions
-
Sets the OpenType font variations for the font options object.
- showGlyphs(Glyphs) - Method in class org.freedesktop.cairo.Context
-
A drawing operator that generates the shape from an array of glyphs, rendered according to the current fontFace, fontSize (fontMatrix), and fontOptions.
- showPage() - Method in class org.freedesktop.cairo.Context
-
Emits and clears the current page for backends that support multiple pages.
- showPage() - Method in class org.freedesktop.cairo.Surface
-
Emits and clears the current page for backends that support multiple pages.
- showText(String) - Method in class org.freedesktop.cairo.Context
-
A drawing operator that generates the shape from a string of characters, rendered according to the current fontFace, fontSize (fontMatrix), and fontOptions.
- showTextGlyphs(String, Glyphs) - Method in class org.freedesktop.cairo.Context
-
This operation has rendering effects similar to
Context.showGlyphs(org.freedesktop.cairo.Glyphs)
but, if the target surface supports it, uses the provided text and cluster mapping to embed the text for the glyphs shown in the output. - SKIA - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (Skia support have been removed, this surface type will never be set by cairo)
- SLIGHT - Enum constant in enum class org.freedesktop.cairo.HintStyle
-
Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes
- snapshot(RasterSource) - Method in interface org.freedesktop.cairo.RasterSourceSnapshotFunc
-
Called when the pixel data needs to be preserved for later use during printing.
- SOFT_LIGHT - Enum constant in enum class org.freedesktop.cairo.Operator
-
Darkens or lightens, dependent on source color.
- SOLID - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a solid (uniform) color.
- SolidPattern - Class in org.freedesktop.cairo
-
A pattern with a solid (uniform) color.
- SolidPattern(MemorySegment) - Constructor for class org.freedesktop.cairo.SolidPattern
-
Constructor used internally to instantiate a java SolidPattern object for a native
cairo_pattern_t
instance - SOURCE - Enum constant in enum class org.freedesktop.cairo.Operator
-
replace destination layer (bounded)
- SQUARE - Enum constant in enum class org.freedesktop.cairo.LineCap
-
use a squared ending, the center of the square is the end point
- status() - Method in class org.freedesktop.cairo.Context
-
Checks whether an error has previously occurred for this context.
- status() - Method in class org.freedesktop.cairo.Device
-
Checks whether an error has previously occurred for this device.
- status() - Method in class org.freedesktop.cairo.FontFace
-
Checks whether an error has previously occurred for this font face
- status() - Method in class org.freedesktop.cairo.FontOptions
-
Checks whether an error has previously occurred for this font options object
- status() - Method in class org.freedesktop.cairo.Path
-
Read the current error status from the Path
- status() - Method in class org.freedesktop.cairo.Pattern
-
Checks whether an error has previously occurred for this pattern.
- status() - Method in class org.freedesktop.cairo.RectangleList
-
Read the status field of the RectangleList
- status() - Method in class org.freedesktop.cairo.Region
-
Checks whether an error has previous occurred for this region object.
- status() - Method in class org.freedesktop.cairo.ScaledFont
-
Checks whether an error has previously occurred for this scaled_font.
- status() - Method in class org.freedesktop.cairo.Surface
-
Checks whether an error has previously occurred for this surface.
- Status - Enum Class in org.freedesktop.cairo
-
Status is used to indicate errors that can occur when using Cairo.
- stroke() - Method in class org.freedesktop.cairo.Context
-
A drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings.
- strokeExtents() - Method in class org.freedesktop.cairo.Context
-
Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a
Context.stroke()
operation given the current path and stroke parameters. - strokePreserve() - Method in class org.freedesktop.cairo.Context
-
A drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings.
- SUBJECT - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document subject
- SUBPIXEL - Enum constant in enum class org.freedesktop.cairo.Antialias
-
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels
- SubpixelOrder - Enum Class in org.freedesktop.cairo
-
The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of
Antialias.SUBPIXEL
. - SUBSURFACE - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is a subsurface created with
Surface.createForRectangle(org.freedesktop.cairo.Surface, double, double, double, double)
- subtract(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Subtracts
rectangle
from this region and places the result in this region - subtract(Region) - Method in class org.freedesktop.cairo.Region
-
Subtracts
other
from this region and places the result in this region - SUCCESS - Enum constant in enum class org.freedesktop.cairo.Status
-
no error has occurred
- supportsMimeType(MimeType) - Method in class org.freedesktop.cairo.Surface
-
Return whether this surface supports
mime_type
. - Surface - Class in org.freedesktop.cairo
-
Base class for surfaces.
- Surface(MemorySegment) - Constructor for class org.freedesktop.cairo.Surface
-
Constructor used internally to instantiate a java Surface object for a native
cairo_surface_t
instance - SURFACE - Enum constant in enum class org.freedesktop.cairo.PatternType
-
The pattern is a based on a surface (an image)
- SURFACE_FINISHED - Enum constant in enum class org.freedesktop.cairo.Status
-
target surface has been finished
- SURFACE_TYPE_MISMATCH - Enum constant in enum class org.freedesktop.cairo.Status
-
the surface type is not appropriate for the operation
- SurfaceObserver - Class in org.freedesktop.cairo
-
A surface that exists solely to watch what another surface is doing.
- SurfaceObserver(MemorySegment) - Constructor for class org.freedesktop.cairo.SurfaceObserver
-
Constructor used internally to instantiate a java SurfaceObserver object for a native
cairo_surface_t
instance - SurfaceObserverCallback - Interface in org.freedesktop.cairo
-
A generic callback function for surface operations.
- SurfaceObserverMode - Enum Class in org.freedesktop.cairo
-
Whether operations should be recorded.
- SurfacePattern - Class in org.freedesktop.cairo
-
A pattern based on a surface (an image).
- SurfacePattern(MemorySegment) - Constructor for class org.freedesktop.cairo.SurfacePattern
-
Constructor used internally to instantiate a java SurfacePattern object for a native
cairo_pattern_t
instance - SurfaceType - Enum Class in org.freedesktop.cairo
-
SurfaceType is used to describe the type of a given surface.
- SVG - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type svg
- SVG_FONT_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in OpenType-SVG font rendering
- SVGSurface - Class in org.freedesktop.cairo
-
The SVG surface is used to render cairo graphics to SVG files and is a multi-page vector surface backend.
- SVGSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.SVGSurface
-
Constructor used internally to instantiate a java SVGSurface object for a native
cairo_surface_t
instance - SVGUnit - Enum Class in org.freedesktop.cairo
-
SVGUnit is used to describe the units valid for coordinates and lengths in the SVG specification.
- SVGVersion - Enum Class in org.freedesktop.cairo
-
SVGVersion is used to describe the version number of the SVG specification that a generated SVG file will conform to.
T
- TAG_CONTENT - Static variable in class org.freedesktop.cairo.Context
-
Create a content tag.
- TAG_CONTENT_REF - Static variable in class org.freedesktop.cairo.Context
-
Create a content reference tag.
- TAG_DEST - Static variable in class org.freedesktop.cairo.Context
-
Create a destination for a hyperlink.
- TAG_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
invalid tag name, attributes, or nesting
- TAG_LINK - Static variable in class org.freedesktop.cairo.Context
-
Create hyperlink.
- tagBegin(String, String) - Method in class org.freedesktop.cairo.Context
-
Marks the beginning of the tag_name structure.
- tagEnd(String) - Method in class org.freedesktop.cairo.Context
-
Marks the end of the tag_name structure.
- takeOwnership(MemorySegment) - Static method in class io.github.jwharm.cairobindings.MemoryCleaner
-
Take ownership of this memory address: when all proxy objects are garbage-collected, the memory will automatically be released.
- TEE - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type 'tee' (a multiplexing surface)
- TeeSurface - Class in org.freedesktop.cairo
-
The "tee" surface supports redirecting all its input to multiple surfaces.
- TeeSurface(MemorySegment) - Constructor for class org.freedesktop.cairo.TeeSurface
-
Constructor used internally to instantiate a java TeeSurface object for a native
cairo_surface_t
instance - TEMP_FILE_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error creating or writing to a temporary file
- TextCluster - Class in org.freedesktop.cairo
-
The TextCluster structure holds information about a single text cluster.
- TextCluster(MemorySegment) - Constructor for class org.freedesktop.cairo.TextCluster
-
Constructor used internally to instantiate a java TextCluster object for a native
cairo_text_cluster_t
instance - TextClusterFlags - Enum Class in org.freedesktop.cairo
-
Specifies properties of a text cluster mapping.
- textExtents(String, TextExtents) - Method in class org.freedesktop.cairo.Context
-
Gets the extents for a string of text.
- textExtents(String, TextExtents) - Method in class org.freedesktop.cairo.ScaledFont
-
Gets the extents for a string of text.
- TextExtents - Class in org.freedesktop.cairo
-
The TextExtents structure stores the extents of a single glyph or a string of glyphs in user-space coordinates.
- TextExtents(MemorySegment) - Constructor for class org.freedesktop.cairo.TextExtents
-
Constructor used internally to instantiate a java TextExtents object for a native
cairo_text_extents_t
instance - textPath(String) - Method in class org.freedesktop.cairo.Context
-
Adds closed paths for text to the current path.
- textToGlyphs(double, double, String) - Method in class org.freedesktop.cairo.ScaledFont
-
Converts UTF-8 text to an array of glyphs, optionally with cluster mapping, that can be used to render later using the ScaledFont.
- textToGlyphs(UserScaledFont, String, Glyphs) - Method in interface org.freedesktop.cairo.UserScaledFontTextToGlyphsFunc
-
Called to convert input text to an array of glyphs.
- TITLE - Enum constant in enum class org.freedesktop.cairo.PDFMetadata
-
The document title
- toCallback(Arena) - Method in interface org.freedesktop.cairo.DestroyFunc
-
Generates an upcall stub, a C function pointer that will call
DestroyFunc.upcall(java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.RasterSourceAcquireFunc
-
Generates an upcall stub, a C function pointer that will call
RasterSourceAcquireFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.RasterSourceCopyFunc
-
Generates an upcall stub, a C function pointer that will call
RasterSourceCopyFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.RasterSourceFinishFunc
-
Generates an upcall stub, a C function pointer that will call
RasterSourceFinishFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.RasterSourceReleaseFunc
-
Generates an upcall stub, a C function pointer that will call
RasterSourceReleaseFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.RasterSourceSnapshotFunc
-
Generates an upcall stub, a C function pointer that will call
RasterSourceSnapshotFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.ReadFunc
-
Generates an upcall stub, a C function pointer that will call
ReadFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, int)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.SurfaceObserverCallback
-
Generates an upcall stub, a C function pointer that will call
SurfaceObserverCallback.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.UserScaledFontInitFunc
-
Generates an upcall stub, a C function pointer that will call
UserScaledFontInitFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.UserScaledFontRenderGlyphFunc
-
Generates an upcall stub, a C function pointer that will call
UserScaledFontRenderGlyphFunc.upcall(java.lang.foreign.MemorySegment, long, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.UserScaledFontTextToGlyphsFunc
-
Generates an upcall stub, a C function pointer that will call
UserScaledFontTextToGlyphsFunc.upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, int, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.UserScaledFontUnicodeToGlyphFunc
-
Generates an upcall stub, a C function pointer that will call
UserScaledFontUnicodeToGlyphFunc.upcall(java.lang.foreign.MemorySegment, long, java.lang.foreign.MemorySegment)
. - toCallback(Arena) - Method in interface org.freedesktop.cairo.WriteFunc
-
Generates an upcall stub, a C function pointer that will call
upcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, int)
. - toString() - Method in record class io.github.jwharm.cairobindings.ArenaCloseAction
-
Returns a string representation of this record class.
- toString() - Method in record class org.freedesktop.cairo.Circle
-
Returns a string representation of this record class.
- toString() - Method in class org.freedesktop.cairo.Matrix
-
String representation of this Matrix
- toString() - Method in enum class org.freedesktop.cairo.MimeType
- toString() - Method in record class org.freedesktop.cairo.PathElement.ClosePath
-
Returns a string representation of this record class.
- toString() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns a string representation of this record class.
- toString() - Method in record class org.freedesktop.cairo.PathElement.LineTo
-
Returns a string representation of this record class.
- toString() - Method in record class org.freedesktop.cairo.PathElement.MoveTo
-
Returns a string representation of this record class.
- toString() - Method in enum class org.freedesktop.cairo.PDFVersion
-
Get the string representation of this version.
- toString() - Method in record class org.freedesktop.cairo.Point
-
Returns a string representation of this record class.
- toString() - Method in enum class org.freedesktop.cairo.PSLevel
-
Get the string representation of this level.
- toString() - Method in record class org.freedesktop.cairo.Rect
-
Returns a string representation of this record class.
- toString() - Method in class org.freedesktop.cairo.Rectangle
-
String representation of this Rectangle
- toString() - Method in class org.freedesktop.cairo.RectangleInt
-
String representation of this RectangleInt
- toString() - Method in record class org.freedesktop.cairo.RGBA
-
Returns a string representation of this record class.
- toString() - Method in enum class org.freedesktop.cairo.Status
-
Provides a human-readable description of a
Status
. - toString() - Method in enum class org.freedesktop.cairo.SVGVersion
-
Get the string representation of this version.
- TOY - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font was created using cairo's toy font api
- ToyFontFace - Class in org.freedesktop.cairo
-
ToyFontFace is used in cairo's toy text API.
- ToyFontFace(MemorySegment) - Constructor for class org.freedesktop.cairo.ToyFontFace
-
Constructor used internally to instantiate a java ToyFontFace object for a native
cairo_font_face_t
instance - transform(Matrix) - Method in class org.freedesktop.cairo.Context
-
Modifies the current transformation matrix (CTM) by applying
matrix
as an additional transformation. - transformDistance(Point) - Method in class org.freedesktop.cairo.Matrix
-
Transforms the distance vector
(dx, dy)
by the matrix. - transformPoint(Point) - Method in class org.freedesktop.cairo.Matrix
-
Transforms the point
(x, y)
by the matrix. - translate(double, double) - Method in class org.freedesktop.cairo.Context
-
Modifies the current transformation matrix (CTM) by translating the user-space origin by
(tx, ty)
. - translate(double, double) - Method in class org.freedesktop.cairo.Matrix
-
Applies a translation by
tx, ty
to the transformation in the matrix. - translate(int, int) - Method in class org.freedesktop.cairo.Region
-
Translates this region by (
dx
,dy
). - TYPE_EPS - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Encapsulated PostScript file.
U
- unicodeToGlyph(UserScaledFont, long) - Method in interface org.freedesktop.cairo.UserScaledFontUnicodeToGlyphFunc
-
Called to convert an input Unicode character to a single glyph.
- union(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Computes the union of this region with
rectangle
and places the result in this region - union(Region) - Method in class org.freedesktop.cairo.Region
-
Computes the union of this region with
other
and places the result in this region - UNIQUE_ID - Enum constant in enum class org.freedesktop.cairo.MimeType
-
Unique identifier for a surface (cairo specific MIME type).
- unlockFace() - Method in class org.freedesktop.cairo.FTScaledFont
-
Releases a face obtained with
FTScaledFont.lockFace()
. - unmapImage(ImageSurface) - Method in class org.freedesktop.cairo.Surface
-
Unmaps the image surface as returned from
Surface.mapToImage(RectangleInt)
. - unsetSynthesize(Set<FTSynthesize>) - Method in class org.freedesktop.cairo.FTFontFace
-
See
FTSynthesize
. - upcall(MemorySegment) - Method in interface org.freedesktop.cairo.DestroyFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, long, MemorySegment) - Method in interface org.freedesktop.cairo.UserScaledFontUnicodeToGlyphFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, long, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.UserScaledFontRenderGlyphFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.RasterSourceFinishFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.RasterSourceSnapshotFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, int) - Method in interface org.freedesktop.cairo.ReadFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, int) - Method in interface org.freedesktop.cairo.WriteFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, int, MemorySegment, MemorySegment, MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.UserScaledFontTextToGlyphsFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.RasterSourceCopyFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.RasterSourceReleaseFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.SurfaceObserverCallback
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.UserScaledFontInitFunc
-
The callback that is executed by native code.
- upcall(MemorySegment, MemorySegment, MemorySegment, MemorySegment) - Method in interface org.freedesktop.cairo.RasterSourceAcquireFunc
-
The callback that is executed by native code.
- URI - Enum constant in enum class org.freedesktop.cairo.MimeType
-
URI for an image file (unofficial MIME type).
- USER - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font was create using cairo's user font api
- USER - Enum constant in enum class org.freedesktop.cairo.SVGUnit
-
User unit, a value in the current coordinate system.
- USER_FONT_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in a user-font callback function
- USER_FONT_IMMUTABLE - Enum constant in enum class org.freedesktop.cairo.Status
-
the user-font is immutable
- USER_FONT_NOT_IMPLEMENTED - Enum constant in enum class org.freedesktop.cairo.Status
-
user-font method not implemented
- UserDataKey - Class in org.freedesktop.cairo
-
UserDataKey is used for attaching user data to cairo data structures.
- UserDataKey(MemorySegment) - Constructor for class org.freedesktop.cairo.UserDataKey
-
Constructor used internally to instantiate a java UserDataKey object for a native
UserDataKey
instance - UserFontFace - Class in org.freedesktop.cairo
-
Font support with font data provided by the user.
- UserFontFace(MemorySegment) - Constructor for class org.freedesktop.cairo.UserFontFace
-
Constructor used internally to instantiate a java UserFontFace object for a native
cairo_font_face
instance - UserScaledFont - Class in org.freedesktop.cairo
-
Provides a ScaledFont from the User font backend.
- UserScaledFont(MemorySegment) - Constructor for class org.freedesktop.cairo.UserScaledFont
-
Constructor used internally to instantiate a java UserScaledFont object for a native
cairo_scaled_font_t
instance - UserScaledFontInitFunc - Interface in org.freedesktop.cairo
-
UserScaledFontInitFunc
is the type of function which is called when a scaled-font needs to be created for a user font-face. - UserScaledFontRenderGlyphFunc - Interface in org.freedesktop.cairo
-
UserScaledFontRenderGlyphFunc is the type of function which is called when a user scaled-font needs to render a glyph.
- UserScaledFontTextToGlyphsFunc - Interface in org.freedesktop.cairo
-
UserScaledFontTextToGlyphsFunc is the type of function which is called to convert input text to an array of glyphs.
- UserScaledFontUnicodeToGlyphFunc - Interface in org.freedesktop.cairo
-
UserScaledFontUnicodeToGlyphFunc is the type of function which is called to convert an input Unicode character to a single glyph.
- userToDevice(Point) - Method in class org.freedesktop.cairo.Context
-
Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).
- userToDeviceDistance(Point) - Method in class org.freedesktop.cairo.Context
-
Transform a distance vector from user space to device space.
V
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Antialias
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.ColorMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Content
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.DeviceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Dither
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Extend
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.FillRule
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Filter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.FontSlant
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.FontType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.FontWeight
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.FTSynthesize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.HintMetrics
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.HintStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.LineCap
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.LineJoin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.MimeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PathDataType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PatternType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PDFMetadata
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PDFOutlineFlags
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PDFVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.PSLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.RegionOverlap
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.ScriptMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.SubpixelOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.SurfaceObserverMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.SurfaceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.SVGUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.SVGVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.cairo.TextClusterFlags
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.freedesktop.cairo.Antialias
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.ColorMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Content
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.DeviceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Dither
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Extend
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.FillRule
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Filter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.FontSlant
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.FontType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.FontWeight
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.FTSynthesize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.HintMetrics
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.HintStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.LineCap
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.LineJoin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.MimeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PathDataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PatternType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PDFMetadata
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PDFOutlineFlags
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PDFVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.PSLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.RegionOverlap
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.ScriptMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.SubpixelOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.SurfaceObserverMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.SurfaceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.SVGUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.SVGVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.cairo.TextClusterFlags
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VBGR - Enum constant in enum class org.freedesktop.cairo.SubpixelOrder
-
Subpixel elements are arranged vertically with blue at the top
- version() - Static method in class org.freedesktop.cairo.Cairo
-
Returns the version of the cairo library encoded in a single integer.
- version() - Method in class org.freedesktop.freetype.Library
-
Return the version of the FreeType library being used.
- VERSION_1_1 - Enum constant in enum class org.freedesktop.cairo.SVGVersion
-
The version 1.1 of the SVG specification.
- VERSION_1_2 - Enum constant in enum class org.freedesktop.cairo.SVGVersion
-
The version 1.2 of the SVG specification.
- VERSION_1_4 - Enum constant in enum class org.freedesktop.cairo.PDFVersion
-
The version 1.4 of the PDF specification.
- VERSION_1_5 - Enum constant in enum class org.freedesktop.cairo.PDFVersion
-
The version 1.5 of the PDF specification.
- VERSION_1_6 - Enum constant in enum class org.freedesktop.cairo.PDFVersion
-
The version 1.6 of the PDF specification.
- VERSION_1_7 - Enum constant in enum class org.freedesktop.cairo.PDFVersion
-
The version 1.7 of the PDF specification.
- versionEncode(int, int, int) - Static method in class org.freedesktop.cairo.Cairo
-
encodes the given cairo version into an integer.
- versionString() - Static method in class org.freedesktop.cairo.Cairo
-
Returns the version of the cairo library as a human-readable string of the form "X.Y.Z".
- versionStringize(int, int, int) - Static method in class org.freedesktop.cairo.Cairo
-
Encodes the given cairo version into a string.
- VG - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
Deprecated.1.18 (OpenVG support have been removed, this surface type will never be set by cairo)
- VRGB - Enum constant in enum class org.freedesktop.cairo.SubpixelOrder
-
Subpixel elements are arranged vertically with red at the top
W
- width() - Method in record class org.freedesktop.cairo.Rect
-
Returns the value of the
width
record component. - width() - Method in class org.freedesktop.cairo.Rectangle
-
Get the width value of the Rectangle
- width() - Method in class org.freedesktop.cairo.RectangleInt
-
Get the width value of the RectangleInt
- width() - Method in class org.freedesktop.cairo.TextExtents
-
Width of the glyphs as drawn
- WIN32 - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type win32
- WIN32 - Enum constant in enum class org.freedesktop.cairo.FontType
-
The font is of type Win32
- WIN32 - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type win32
- WIN32_GDI_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error occurred in the Windows Graphics Device Interface
- WIN32_PRINTING - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is a win32 printing surface
- WINDING - Enum constant in enum class org.freedesktop.cairo.FillRule
-
If the path crosses the ray from left-to-right, counts +1.
- write(byte[]) - Method in interface org.freedesktop.cairo.WriteFunc
-
The function to implement as callback in a write operation to an output stream.
- WRITE_ERROR - Enum constant in enum class org.freedesktop.cairo.Status
-
error while writing to output stream
- writeComment(String) - Method in class org.freedesktop.cairo.Script
-
Emit a string verbatim into the script.
- WriteFunc - Interface in org.freedesktop.cairo
-
WriteFunc is the type of function which is called when a backend needs to write data to an output stream.
- writeToPNG(OutputStream) - Method in class org.freedesktop.cairo.ImageSurface
-
Writes the image surface to the output stream.
- writeToPNG(String) - Method in class org.freedesktop.cairo.ImageSurface
-
Writes the contents of surface to a new file filename as a PNG image.
X
- x() - Method in record class org.freedesktop.cairo.Circle
-
Returns the value of the
x
record component. - x() - Method in class org.freedesktop.cairo.Glyph
-
The offset in the X direction between the origin used for drawing or measuring the string and the origin of this glyph.
- x() - Method in record class org.freedesktop.cairo.PathElement.LineTo
-
Returns the value of the
x
record component. - x() - Method in record class org.freedesktop.cairo.PathElement.MoveTo
-
Returns the value of the
x
record component. - x() - Method in record class org.freedesktop.cairo.Point
-
Returns the value of the
x
record component. - x() - Method in record class org.freedesktop.cairo.Rect
-
Returns the value of the
x
record component. - x() - Method in class org.freedesktop.cairo.Rectangle
-
Get the x value of the Rectangle
- x() - Method in class org.freedesktop.cairo.RectangleInt
-
Get the x value of the RectangleInt
- x0() - Method in class org.freedesktop.cairo.Matrix
-
Get the x0 value of the Matrix
- x1() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
x1
record component. - x2() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
x2
record component. - x3() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
x3
record component. - xAdvance() - Method in class org.freedesktop.cairo.TextExtents
-
Distance to advance in the X direction after drawing these glyphs
- xBearing() - Method in class org.freedesktop.cairo.TextExtents
-
The horizontal distance from the origin to the leftmost part of the glyphs as drawn.
- XCB - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type xcb
- XCB - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type xcb
- XLIB - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type xlib
- XLIB - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type xlib
- XML - Enum constant in enum class org.freedesktop.cairo.DeviceType
-
The device is of type XML
- XML - Enum constant in enum class org.freedesktop.cairo.SurfaceType
-
The surface is of type XML (for debugging)
- xor(RectangleInt) - Method in class org.freedesktop.cairo.Region
-
Computes the exclusive difference of this region with
rectangle
and places the result in this region. - xor(Region) - Method in class org.freedesktop.cairo.Region
-
Computes the exclusive difference of this region with
other
and places the result in this region. - XOR - Enum constant in enum class org.freedesktop.cairo.Operator
-
source and destination are shown where there is only one of them
- xx() - Method in class org.freedesktop.cairo.Matrix
-
Get the xx value of the Matrix
- xy() - Method in class org.freedesktop.cairo.Matrix
-
Get the xy value of the Matrix
Y
- y() - Method in record class org.freedesktop.cairo.Circle
-
Returns the value of the
y
record component. - y() - Method in class org.freedesktop.cairo.Glyph
-
The offset in the Y direction between the origin used for drawing or measuring the string and the origin of this glyph.
- y() - Method in record class org.freedesktop.cairo.PathElement.LineTo
-
Returns the value of the
y
record component. - y() - Method in record class org.freedesktop.cairo.PathElement.MoveTo
-
Returns the value of the
y
record component. - y() - Method in record class org.freedesktop.cairo.Point
-
Returns the value of the
y
record component. - y() - Method in record class org.freedesktop.cairo.Rect
-
Returns the value of the
y
record component. - y() - Method in class org.freedesktop.cairo.Rectangle
-
Get the y value of the Rectangle
- y() - Method in class org.freedesktop.cairo.RectangleInt
-
Get the y value of the RectangleInt
- y0() - Method in class org.freedesktop.cairo.Matrix
-
Get the y0 value of the Matrix
- y1() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
y1
record component. - y2() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
y2
record component. - y3() - Method in record class org.freedesktop.cairo.PathElement.CurveTo
-
Returns the value of the
y3
record component. - yAdvance() - Method in class org.freedesktop.cairo.TextExtents
-
Distance to advance in the Y direction after drawing these glyphs.
- yBearing() - Method in class org.freedesktop.cairo.TextExtents
-
The vertical distance from the origin to the topmost part of the glyphs as drawn.
- yieldOwnership(MemorySegment) - Static method in class io.github.jwharm.cairobindings.MemoryCleaner
-
Yield ownership of this memory address: when all proxy objects are garbage-collected, the memory will not be released.
- yx() - Method in class org.freedesktop.cairo.Matrix
-
Get the yx value of the Matrix
- yy() - Method in class org.freedesktop.cairo.Matrix
-
Get the yy value of the Matrix
All Classes and Interfaces|All Packages|Constant Field Values