diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-03-22 09:59:10 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-03-22 09:59:10 +0000 |
commit | 193bde0637ccdfa2d08c978dba8d9418cef1deca (patch) | |
tree | e5bac05c22bdfeb64f28dd19608a5b792da316e2 /canvas | |
parent | a6916acfed11ec74b456d428662e8d8cfda5575d (diff) |
INTEGRATION: CWS cairofixes01 (1.2.2); FILE MERGED
2006/03/02 17:56:17 radekdoulik 1.2.2.2: Issue number: 62722
Submitted by: radekdoulik
Reviewed by: radekdoulik
2006-02-22 Radek Doulik <rodo@novell.com>
*
build/src680-m152/canvas/source/cairo/cairo_canvashelper_text.cxx
(cairocanvas): use depth of surface when creating virtual vcl
device
* build/src680-m152/canvas/source/cairo/cairo_cairo.cxx (cairo):
new function, returns surface bit depth
2006/03/02 17:40:59 radekdoulik 1.2.2.1: Issue number: 62722
Submitted by: radekdoulik
Reviewed by: radekdoulik
optimize resizing of cairo surfaces
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_cairo.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/canvas/source/cairo/cairo_cairo.hxx b/canvas/source/cairo/cairo_cairo.hxx index 043ff32497ec..fa5f11c5f2ea 100644 --- a/canvas/source/cairo/cairo_cairo.hxx +++ b/canvas/source/cairo/cairo_cairo.hxx @@ -37,6 +37,7 @@ namespace cairo { mpDisplay( NULL ), mhDrawable( 0 ), mpSysData( NULL ), + mpRenderFormat( NULL ), mbFreePixmap( false ), mnRefCount( 1 ) { @@ -76,6 +77,11 @@ namespace cairo { { return mpRenderFormat; } + + // use only for surfaces made on X Drawables + void Resize( int width, int height ); + + int getDepth(); }; } |