腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(57)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
如何使用
NSAffineTransform
我想使用
NSAffineTransform
,但不想发出警报: 怎么用?
浏览 4
修改于2014-03-03
得票数 0
2
回答
NSAffinetransform
与CGAffinetransform的区别
谁有什么好的例子来解释
NSAffinetransform
和CGAffinetransform之间的区别?谢谢
浏览 0
修改于2012-06-28
得票数 8
1
回答
将
NSAffineTransform
转换为CGAffineTransform
NSAffineTransform
*trans = [
NSAffineTransform
transform]; [trans translateXBy:(width - self.minWidth)
浏览 5
提问于2014-11-08
得票数 1
回答已采纳
1
回答
NSAffineTransform
vs AffineTransform (Swift)
我在使用
NSAffineTransform
时取得了一些成功,但我遇到了AffineTransform,它大概更快。但是它没有concat方法,那么如何使用它呢?
浏览 19
提问于2021-03-21
得票数 1
1
回答
不受
NSAffineTransform
影响的NSRect子视图
将
NSAffineTransform
旋转和平移应用于NSRect时,任何子视图都不受变换的影响。我已经包含了下面的代码。- (void)drawRect:(NSRect)dirtyRect
NSAffineTransform
* transform = [
NSAffineTransform
浏览 0
修改于2013-02-08
得票数 1
回答已采纳
1
回答
使用
NSAffineTransform
进行NSPanel变换
NSAffineTransform
是正确的方法吗?有没有人知道我需要做些什么才能将nspanel向下移动。再次感谢大家。
浏览 0
修改于2010-08-13
得票数 0
回答已采纳
1
回答
有什么方法可以从
NSAffineTransform
中提取CGAffineTransform吗?
path = [NSBezierPath bezierPathWithRect:rect]; default:}
NSAffineTransform
*pos = [
NSAffineTransform
transform]; [pos
浏览 4
提问于2013-09-03
得票数 2
回答已采纳
2
回答
将
NSAffineTransform
应用于NSView
我已经创建了一个具有所需翻译和缩放的
NSAffineTransform
,但无法确定如何将其实际应用于NSView。
浏览 2
提问于2019-02-03
得票数 2
回答已采纳
3
回答
使用或不使用
NSAffineTransform
旋转NSImage
然后我使用
NSAffineTransform
旋转图像,并将其转换回屏幕上。然而,它似乎并不像我期望的那样工作。我有两个问题。 1)当我旋转时,图像中不在前一帧中的区域的部分可以正确绘制。基本上,我得出的结论是
NSAffineTransform
并不像我想的那样工作。有没有其他方法可以旋转(和平移)图像?
浏览 3
修改于2009-08-18
得票数 2
回答已采纳
1
回答
如何创建具有倾斜效果的
NSAffineTransform
?
如何设置
NSAffineTransform
,使X轴保持水平,Y轴逆时针旋转30度?
浏览 2
提问于2012-10-05
得票数 2
回答已采纳
1
回答
在MacOSX10.11中,
NSAffineTransform
有不同的坐标系统吗?
NSAffineTransform
* transform = [
NSAffineTransform
transform]; [transform translateXBy:-bound.origin.x我不知道为什么,
NSAffineTransform
在最新的MacOSX10.11中有不同的坐标系统吗?如何解决这个问题以使应用程序与10.10/9和10.11兼容?谢谢。
浏览 5
提问于2015-10-24
得票数 1
回答已采纳
1
回答
使用
NSAffineTransform
旋转NSImage的结果是文件大小的两倍
NSImage alloc] initWithSize:NSMakeSize(imageRep.pixelsWide, imageRep.pixelsHigh)];
NSAffineTransform
*rotator = [
NSAffineTransform
transform]; [rotator translateXBy:imageRep.pixelsWide yBy:imageRep.pixelsHigh
浏览 8
提问于2015-01-19
得票数 0
回答已采纳
2
回答
分析
NSAffineTransform
和CILineOverlay过滤器生成的位图
更具体地说,当我使用
NSAffineTransform
过滤器创建outputBitmap时,outputBitmap包含了我期望的数据。鉴于此,CIimage位图没有数据是有道理的--但是我不明白为什么在我运行
NSAffineTransform
之后它有数据,而在运行CILineOverlay转换之后它没有数据?当我只运行
NSAffineTransform
过滤器,然后执行这段代码时,打印的字节包含我期望的数据(无论我如何格式化NSLog输出,都会打印一些内容)。CIAffineTransform"]; [transform setD
浏览 0
修改于2010-06-15
得票数 1
回答已采纳
1
回答
将macOS drawRect转换为iOS
NSGraphicsContext *gc = [NSGraphicsContext currentContext]; trans = [
NSAffineTransform
trans concat]; if ([NSGraphicsContext currentContext
浏览 0
修改于2021-02-18
得票数 0
1
回答
NSImage在转型后变得模糊
我用NSImage类在它的中心旋转了一个
NSAffineTransform
,它可以工作。transformedImageBounds = imageBounds;
NSAffineTransform
* transform = [
NSAffineTransform
transform]; // calculate the bounds for the
浏览 1
修改于2018-08-26
得票数 0
2
回答
NSImage和视网膜显示混淆
imgPointSize.width: %f , imgPointSize.height:%f",imgPointSize.width,imgPointSize.height);
NSAffineTransform
*trans = [[[
NSAffineTransform
alloc] init] autorelease]; [trans05.084 RetinaTest[8113:403] imgPointSiz
浏览 2
修改于2012-07-06
得票数 5
回答已采纳
1
回答
如何旋转nscell
NSRect)cellFrame inView:(NSView *)controlView{
NSAffineTransform
*transform = [
NSAffineTransform
transform];[transform concat]; [super
浏览 3
提问于2010-09-02
得票数 0
回答已采纳
3
回答
如何旋转NSTextView
NSTextView和在绘制代码之前添加坐标系旋转,如下所示:{ [trafo rotateByDegrees:45]; [super]; -(void)drawInsertionPointInRect:(NSRect)rect color:(NS
浏览 2
修改于2011-06-15
得票数 1
1
回答
非视网膜上块码模糊的NSImage旋转
NSZeroPoint, [self size]};
NSAffineTransform
*transform = [
NSAffineTransform
transform]; [boundsPath transformUsingAffineTransformrotatedBounds.size flipped:NO drawingHand
浏览 4
提问于2015-10-09
得票数 0
1
回答
以图像中心为旋转轴旋转图像
如何使用
NSAffineTransform
实现以旋转轴为图像中心的图像旋转。
浏览 0
提问于2010-03-26
得票数 1
回答已采纳
第 2 页
第 3 页
点击加载更多
领券