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
This commit is contained in:
Oliver Bolte
2006-03-22 09:59:10 +00:00
parent a6916acfed
commit 193bde0637

View File

@@ -37,6 +37,7 @@ namespace cairo {
mpDisplay( NULL ), mpDisplay( NULL ),
mhDrawable( 0 ), mhDrawable( 0 ),
mpSysData( NULL ), mpSysData( NULL ),
mpRenderFormat( NULL ),
mbFreePixmap( false ), mbFreePixmap( false ),
mnRefCount( 1 ) mnRefCount( 1 )
{ {
@@ -76,6 +77,11 @@ namespace cairo {
{ {
return mpRenderFormat; return mpRenderFormat;
} }
// use only for surfaces made on X Drawables
void Resize( int width, int height );
int getDepth();
}; };
} }