spectre-render-context.h | spectre-render-context.h | |||
---|---|---|---|---|
skipping to change at line 109 | skipping to change at line 109 | |||
/*! Gets the page size in pixels | /*! Gets the page size in pixels | |||
@param rc The rendering context to query | @param rc The rendering context to query | |||
@param width the width of the page will be stored here, or NULL | @param width the width of the page will be stored here, or NULL | |||
@param height the height of the page will be stored here, or NULL | @param height the height of the page will be stored here, or NULL | |||
*/ | */ | |||
void spectre_render_context_get_page_size (Spectr eRenderContext *rc, | void spectre_render_context_get_page_size (Spectr eRenderContext *rc, | |||
int *width, | int *width, | |||
int *height); | int *height); | |||
/*! Sets wheter to use the platform fonts when rendering or not. The defaul t is TRUE | /*! Sets whether to use the platform fonts when rendering or not. The defau lt is TRUE | |||
@param rc The rendering context to modify | @param rc The rendering context to modify | |||
@param use_platform_fonts should platform fonts be used when rendering? | @param use_platform_fonts should platform fonts be used when rendering? | |||
*/ | */ | |||
void spectre_render_context_set_use_platform_fonts (Spectr eRenderContext *rc, | void spectre_render_context_set_use_platform_fonts (Spectr eRenderContext *rc, | |||
int use_platform_fonts); | int use_platform_fonts); | |||
/*! Gets wheter to use the platform fonts when rendering or not | /*! Gets whether to use the platform fonts when rendering or not | |||
@param rc The rendering context to query | @param rc The rendering context to query | |||
*/ | */ | |||
int spectre_render_context_get_use_platform_fonts (Spectr eRenderContext *rc); | int spectre_render_context_get_use_platform_fonts (Spectr eRenderContext *rc); | |||
/*! Sets the antialias options for graphics and texts. The default is 4 for graphics and 2 for text | /*! Sets the antialias options for graphics and texts. The default is 4 for graphics and 2 for text | |||
@param rc The rendering context to modify | @param rc The rendering context to modify | |||
@param graphics_bits The number of antialias bits to use for graphics. | @param graphics_bits The number of antialias bits to use for graphics. | |||
Typically 4 for antialias and 1 for no antialias | Typically 4 for antialias and 1 for no antialias | |||
@param text_bits The number of antialias bits to use for text. | @param text_bits The number of antialias bits to use for text. | |||
Typically 2 for antialias and 1 for no antialias | Typically 2 for antialias and 1 for no antialias | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
spectre-version.h | spectre-version.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
#ifndef SPECTRE_VERSION_H | #ifndef SPECTRE_VERSION_H | |||
#define SPECTRE_VERSION_H | #define SPECTRE_VERSION_H | |||
#include <libspectre/spectre-macros.h> | #include <libspectre/spectre-macros.h> | |||
SPECTRE_BEGIN_DECLS | SPECTRE_BEGIN_DECLS | |||
#define SPECTRE_MAJOR_VERSION 0 | #define SPECTRE_MAJOR_VERSION 0 | |||
#define SPECTRE_MINOR_VERSION 2 | #define SPECTRE_MINOR_VERSION 2 | |||
#define SPECTRE_MICRO_VERSION 0 | #define SPECTRE_MICRO_VERSION 1 | |||
#define SPECTRE_VERSION_STRING "0.2.0" | #define SPECTRE_VERSION_STRING "0.2.1" | |||
#define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (0)) | #define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (1)) | |||
SPECTRE_END_DECLS | SPECTRE_END_DECLS | |||
#endif /* SPECTRE_VERSION_H */ | #endif /* SPECTRE_VERSION_H */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||