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:
parent
a6916acfed
commit
193bde0637
@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user