Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
cairo-util.hpp File Reference

Utility functions for working with elements from the Cairo vector drawing library. More...

Go to the source code of this file.

Description

Utility functions for working with elements from the Cairo vector drawing library.

Definition in file cairo-util.hpp.

#include "stage/gtk-base.hpp"
#include "lib/util.hpp"

Namespaces

namespace  stage
 Lumiera GTK UI implementation root.
 
namespace  stage::draw
 Display and drawing helpers and utilities.
 

Functions

RefPtr< SolidPattern > pattern_set_red (RefPtr< SolidPattern > const &color, double red)
 
RefPtr< SolidPattern > pattern_set_green (RefPtr< SolidPattern > const &color, double green)
 
RefPtr< SolidPattern > pattern_set_blue (RefPtr< SolidPattern > const &color, double blue)
 
RefPtr< SolidPattern > pattern_set_alpha (RefPtr< SolidPattern > const &color, double alpha)
 
bool pt_in_rect (Gdk::Point const &point, Gdk::Rectangle const &rect)
 
bool rects_overlap (Gdk::Rectangle const &recA, Gdk::Rectangle const &recB)