Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Unified Diff: core/cross/cairo/pattern.cc

Issue 6255003: O2D:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/cairo/pattern.h ('k') | core/cross/cairo/renderer_cairo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/cairo/pattern.cc
===================================================================
--- core/cross/cairo/pattern.cc (revision 71191)
+++ core/cross/cairo/pattern.cc (working copy)
@@ -73,6 +73,17 @@
cairo_pattern_destroy(pattern_);
}
+void Pattern::SetAffineTransform(double xx,
+ double yx,
+ double xy,
+ double yy,
+ double x0,
+ double y0) {
+ cairo_matrix_t matrix;
+ cairo_matrix_init(&matrix, xx, yx, xy, yy, x0, y0);
+ cairo_pattern_set_matrix(pattern_, &matrix);
+}
+
Pattern::Pattern(ServiceLocator* service_locator, cairo_pattern_t* pattern)
: ObjectBase(service_locator),
pattern_(pattern) {
« no previous file with comments | « core/cross/cairo/pattern.h ('k') | core/cross/cairo/renderer_cairo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698