Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ WebKit CSS 3d转换在雪豹中不起作用_C++_Css_Webkit_Osx Snow Leopard - Fatal编程技术网

C++ WebKit CSS 3d转换在雪豹中不起作用

C++ WebKit CSS 3d转换在雪豹中不起作用,c++,css,webkit,osx-snow-leopard,C++,Css,Webkit,Osx Snow Leopard,我编译了一个在Leopard(10.5)上使用WebKit的应用程序 应用程序是32位的。 我已经将32位版本的WebKit/WebCore等与该应用捆绑在一起 如果我在SnowLeopard(10.6)上运行它,CSS 3d转换都不会工作。3D变换在SL的Safari中工作 我感觉我的应用程序无法与雪豹中的一些3D图形框架链接。有没有64位的图形框架?我遇到了类似的问题。我的目标是保存WebKit/WebView的图像,但任何带有-WebKit transform的图像都会呈现为空白 这是我正

我编译了一个在Leopard(10.5)上使用WebKit的应用程序

应用程序是32位的。 我已经将32位版本的WebKit/WebCore等与该应用捆绑在一起

如果我在SnowLeopard(10.6)上运行它,CSS 3d转换都不会工作。3D变换在SL的Safari中工作


我感觉我的应用程序无法与雪豹中的一些3D图形框架链接。有没有64位的图形框架?

我遇到了类似的问题。我的目标是保存WebKit/WebView的图像,但任何带有-WebKit transform的图像都会呈现为空白

这是我正在使用的代码,它无法正常工作:

-(NSBitmapImageRep *)getBitmap {
    return [[NSBitmapImageRep alloc] initWithFocusedViewRect: [[[[webView mainFrame] frameView] documentView] bounds]];
}
这段代码似乎解决了这个问题,实际上使用-webkit transform显示对象:

-(NSBitmapImageRep *)getBitmap {
    NSBitmapImageRep *image = [webView bitmapImageRepForCachingDisplayInRect:[webView bounds]];
    [webView cacheDisplayInRect:[webView bounds] toBitmapImageRep:image];
    return image;
}

我遇到了类似的问题。我的目标是保存WebKit/WebView的图像,但任何带有-WebKit transform的图像都会呈现为空白

这是我正在使用的代码,它无法正常工作:

-(NSBitmapImageRep *)getBitmap {
    return [[NSBitmapImageRep alloc] initWithFocusedViewRect: [[[[webView mainFrame] frameView] documentView] bounds]];
}
这段代码似乎解决了这个问题,实际上使用-webkit transform显示对象:

-(NSBitmapImageRep *)getBitmap {
    NSBitmapImageRep *image = [webView bitmapImageRepForCachingDisplayInRect:[webView bounds]];
    [webView cacheDisplayInRect:[webView bounds] toBitmapImageRep:image];
    return image;
}