|
cairomm 1.18.0
|
Context is the main class used to draw in cairomm. More...
#include <cairomm/context.h>
Public Types | |
| enum class | Operator { CLEAR = CAIRO_OPERATOR_CLEAR , SOURCE = CAIRO_OPERATOR_SOURCE , OVER = CAIRO_OPERATOR_OVER , IN = CAIRO_OPERATOR_IN , OUT = CAIRO_OPERATOR_OUT , ATOP = CAIRO_OPERATOR_ATOP , DEST = CAIRO_OPERATOR_DEST , DEST_OVER = CAIRO_OPERATOR_DEST_OVER , DEST_IN = CAIRO_OPERATOR_DEST_IN , DEST_OUT = CAIRO_OPERATOR_DEST_OUT , DEST_ATOP = CAIRO_OPERATOR_DEST_ATOP , XOR = CAIRO_OPERATOR_XOR , ADD = CAIRO_OPERATOR_ADD , SATURATE = CAIRO_OPERATOR_SATURATE } |
| Operator is used to set the compositing operator for all cairo drawing operations. More... | |
| enum class | FillRule { WINDING = CAIRO_FILL_RULE_WINDING , EVEN_ODD = CAIRO_FILL_RULE_EVEN_ODD } |
| FillRule is used to select how paths are filled. More... | |
| enum class | LineCap { BUTT = CAIRO_LINE_CAP_BUTT , ROUND = CAIRO_LINE_CAP_ROUND , SQUARE = CAIRO_LINE_CAP_SQUARE } |
| Specifies how to render the endpoints of the path when stroking. More... | |
| enum class | LineJoin { MITER = CAIRO_LINE_JOIN_MITER , ROUND = CAIRO_LINE_JOIN_ROUND , BEVEL = CAIRO_LINE_JOIN_BEVEL } |
| Specifies how to render the junction of two lines when stroking. More... | |
| typedef cairo_t | cobject |
| The base cairo C type that is wrapped by Cairo::Context. More... | |
Public Member Functions | |
| Context (cairo_t *cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. More... | |
| Context (const Context &)=delete | |
| Context & | operator= (const Context &)=delete |
| virtual | ~Context () |
| void | save () |
| Makes a copy of the current state of the Context and saves it on an internal stack of saved states. More... | |
| void | |