cairomm 1.18.0
|
Classes | |
struct | ColorStop |
class | Context |
Context is the main class used to draw in cairomm. More... | |
class | Device |
Devices are the abstraction Cairo employs for the rendering system used by a cairo_surface_t. More... | |
class | FontFace |
A FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. More... | |
class | FontOptions |
The font options specify how fonts should be rendered. More... | |
class | FtFontFace |
class | FtScaledFont |
class | GlitzSurface |
A GlitzSurface provides a way to render to the X Window System using Glitz. More... | |
class | Gradient |
class | ImageSurface |
Image surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code. More... | |
class | LinearGradient |
class | logic_error |
class | Matrix |
A Transformation matrix. More... | |
class | Path |
A data structure for holding a path. More... | |
class | Pattern |
Cairo::Pattern is the paint with which cairo draws. More... | |
class | PdfSurface |
A PdfSurface provides a way to render PDF documents from cairo. More... | |
class | PsSurface |
A PsSurface provides a way to render PostScript documents from cairo. More... | |
class | QuartzFontFace |
The Quartz font backend is primarily used to render text on Apple MacOS X systems. More... | |
class | QuartzSurface |
A QuartzSurface provides a way to render within Apple Mac OS X. More... | |
class | RadialGradient |
class | RecordingSurface |
A recording surface is a surface that records all drawing operations at the highest level of the surface backend interface, (that is, the level of paint, mask, stroke, fill, and show_text_glyphs). More... | |
class | Region |
A simple graphical data type representing an area of integer-aligned rectangles. More... | |
class | SaveGuard |
RAII-style context save/restore class. More... | |
class | ScaledFont |
A ScaledFont is a font scaled to a particular size and device resolution. More... | |
class | SolidPattern |
class | Surface |
A cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface. More... | |
class | SurfacePattern |
class | SvgSurface |
A SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo. More... | |
class | ToyFontFace |
A simple font face used for the cairo 'toy' font API. More... | |
class | UserFontFace |
Font support with font data provided by the user. More... | |
class | Win32FontFace |
Font support for Microsoft Windows. More... | |
class | Win32PrintingSurface |
A multi-page vector surface type for printing on Microsoft Windows. More... | |
class | Win32ScaledFont |
Scaled Font implementation for Microsoft Windows fonts. More... | |
class | Win32Surface |
A Win32Surface provides a way to render within Microsoft Windows. More... | |
class | XlibSurface |
An XlibSurface provides a way to render to the X Window System using XLib. More... | |
Typedefs | |
template<typename T_CppObject > | |
using | RefPtr = std::shared_ptr< T_CppObject > |
RefPtr<> is a reference-counting shared smartpointer. More... | |
typedef cairo_rectangle_t | Rectangle |
See the cairo_rectangle_t reference in the cairo manual for more information. More... | |
typedef cairo_rectangle_int_t | RectangleInt |
See the cairo_rectangle_int_t reference in the cairo manual for more information. More... | |
typedef cairo_font_extents_t | FontExtents |
See the cairo_font_extents_t reference in the cairo manual for more information. More... | |
typedef cairo_text_extents_t | TextExtents |
See the cairo_text_extents_t reference in the cairo manual for more information. More... | |
typedef cairo_text_cluster_t | TextCluster |
See the cairo_text_cluster_t reference in the cairo manual for more information. More... | |
typedef cairo_glyph_t | Glyph |
See the cairo_glyph_t reference in the cairo manual for more information. More... | |
Enumerations | |
enum | Antialias { ANTIALIAS_DEFAULT = CAIRO_ANTIALIAS_DEFAULT , ANTIALIAS_NONE = CAIRO_ANTIALIAS_NONE , ANTIALIAS_GRAY = CAIRO_ANTIALIAS_GRAY , ANTIALIAS_SUBPIXEL = CAIRO_ANTIALIAS_SUBPIXEL } |
Specifies the type of antialiasing to do when rendering text or shapes. More... | |
enum | Content { CONTENT_COLOR = CAIRO_CONTENT_COLOR , CONTENT_ALPHA = CAIRO_CONTENT_ALPHA , CONTENT_COLOR_ALPHA = CAIRO_CONTENT_COLOR_ALPHA } |
Cairo::Content is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs. More... | |
enum | SubpixelOrder { SUBPIXEL_ORDER_DEFAULT = CAIRO_SUBPIXEL_ORDER_DEFAULT , SUBPIXEL_ORDER_RGB = CAIRO_SUBPIXEL_ORDER_RGB , SUBPIXEL_ORDER_BGR = CAIRO_SUBPIXEL_ORDER_BGR , SUBPIXEL_ORDER_VRGB = CAIRO_SUBPIXEL_ORDER_VRGB , SUBPIXEL_ORDER_VBGR = CAIRO_SUBPIXEL_ORDER_VBGR } |
The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of Cairo::ANTIALIAS_SUBPIXEL. More... | |
enum | FontType { FONT_TYPE_TOY = CAIRO_FONT_TYPE_TOY , FONT_TYPE_FT = CAIRO_FONT_TYPE_FT , FONT_TYPE_WIN32 = CAIRO_FONT_TYPE_WIN32 , FONT_TYPE_QUARTZ = CAIRO_FONT_TYPE_QUARTZ , FONT_TYPE_USER = CAIRO_FONT_TYPE_USER } |
Cairo::FontType is used to describe the type of a given font face or scaled font. More... | |
enum | TextClusterFlags { TEXT_CLUSTER_FLAG_BACKWARD = CAIRO_TEXT_CLUSTER_FLAG_BACKWARD } |
Specifies properties of a text cluster mapping. More... | |
enum | FtSynthesize { FT_SYNTHESIZE_BOLT = CAIRO_FT_SYNTHESIZE_BOLD , FT_SYNTHESIZE_OBLIQUE = CAIRO_FT_SYNTHESIZE_OBLIQUE } |
A set of synthesis options to control how FreeType renders the glyphs for a particular font face. More... | |
enum | PdfVersion { PDF_VERSION_1_4 = CAIRO_PDF_VERSION_1_4 , PDF_VERSION_1_5 = CAIRO_PDF_VERSION_1_5 } |
enum | PsLevel { PS_LEVEL_2 = CAIRO_PS_LEVEL_2 , PS_LEVEL_3 = CAIRO_PS_LEVEL_3 } |
describes the language level of the PostScript Language Reference that a generated PostScript file will conform to. More... | |
enum | SvgVersion { SVG_VERSION_1_1 = CAIRO_SVG_VERSION_1_1 , SVG_VERSION_1_2 = CAIRO_SVG_VERSION_1_2 } |
Functions | |
FtSynthesize | operator| (FtSynthesize a, FtSynthesize b) |
FtSynthesize | operator& (FtSynthesize a, FtSynthesize b) |
template<typename T_CppObject > | |
RefPtr< T_CppObject > | make_refptr_for_instance (T_CppObject * object) |
Create a RefPtr<> to an instance of any reference-counted class whose destructor is noexcept (the default for destructors). More... | |
typedef cairo_font_extents_t Cairo::FontExtents |
See the cairo_font_extents_t reference in the cairo manual for more information.
typedef cairo_glyph_t Cairo::Glyph |
See the cairo_glyph_t reference in the cairo manual for more information.
typedef cairo_rectangle_t Cairo::Rectangle |
See the cairo_rectangle_t reference in the cairo manual for more information.
typedef cairo_rectangle_int_t Cairo::RectangleInt |
See the cairo_rectangle_int_t reference in the cairo manual for more information.
using Cairo::RefPtr = typedef std::shared_ptr<T_CppObject> |
RefPtr<> is a reference-counting shared smartpointer.
Reference counting means that a shared reference count is incremented each time a RefPtr is copied, and decremented each time a RefPtr is destroyed, for instance when it leaves its scope. When the reference count reaches zero, the contained object is deleted
cairomm uses RefPtr so that you don't need to remember to delete the object explicitly, or know when a method expects you to delete the object that it returns, and to prevent any need to manually reference and unreference cairo objects.
typedef cairo_text_cluster_t Cairo::TextCluster |
See the cairo_text_cluster_t reference in the cairo manual for more information.
typedef cairo_text_extents_t Cairo::TextExtents |
See the cairo_text_extents_t reference in the cairo manual for more information.
enum Cairo::Antialias |
Specifies the type of antialiasing to do when rendering text or shapes.
The interpretation of Cairo::ANTIALIAS_DEFAULT is left entirely up to the backend.
enum Cairo::Content |
Cairo::Content is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs.
opacity), or both.
Enumerator | |
---|---|
CONTENT_COLOR | The surface will hold color content only. |
CONTENT_ALPHA | The surface will hold alpha content only. |
CONTENT_COLOR_ALPHA | The surface will hold color and alpha content. |
enum Cairo::FontType |
Cairo::FontType is used to describe the type of a given font face or scaled font.
The font types are also known as "font backends" within cairo.
New entries may be added in future versions.
enum Cairo::FtSynthesize |
A set of synthesis options to control how FreeType renders the glyphs for a particular font face.
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.
Individual synthesis features of a FtFontFace
can be set using FtFontFace::set_synthesize()
, or disabled using FtFontFace::unset_synthesize()
. The currently enabled set of synthesis options can be queried with FtFontFace::get_synthesize()
.
Note: that when synthesizing glyphs, the font metrics returned will only be estimates.
Enumerator | |
---|---|
FT_SYNTHESIZE_BOLT | Embolden the glyphs (redraw with a pixel offset) |
FT_SYNTHESIZE_OBLIQUE | Slant the glyph outline by 12 degrees to the right. |
enum Cairo::PdfVersion |
enum Cairo::PsLevel |
enum Cairo::SubpixelOrder |
The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of Cairo::ANTIALIAS_SUBPIXEL.
enum Cairo::SvgVersion |
RefPtr< T_CppObject > Cairo::make_refptr_for_instance | ( | T_CppObject * | object | ) |
Create a RefPtr<> to an instance of any reference-counted class whose destructor is noexcept (the default for destructors).
Normal application code should not need to use this. However, this is necessary when implementing create() methods for derived classes, such as a derived Cairo::UserFontFace.
|
inline |
|
inline |