Initialize the canvas geometry as an Objective-C++ instance member

这个提交包含在:
mac 于 2026-11-06 11:30:41 +08:00 提交
1 父节点 5ca307414c
当前提交 320f4c5f91
2 个文件已更改
+2 -2

没有与搜索条件相匹配的文件

+1 -1
查看文件
@@ -13,7 +13,7 @@ inline double DYLevelDelta(CGPoint first, CGPoint second, double aspect, bool ve
struct DYLevelTransform {
double aspect, cosine, sine, zoom;
DYLevelTransform(double angle, double displayAspect)
DYLevelTransform(double angle = 0, double displayAspect = 1)
: aspect(displayAspect), cosine(std::cos(angle)), sine(std::sin(angle)),
zoom(std::max(1., std::abs(cosine) + std::abs(sine) * std::max(aspect, 1. / aspect))) {}
+1 -1
查看文件
@@ -8,7 +8,7 @@
BOOL _stampHasSource,_stampDragging,_stampSaving,_stampNeedsRedraw;
NSPoint _stampSource,_stampStart,_stampEnd;
NSString *_stampFailure,*_levelFailure;
DYLevelTransform _level{0,1};
DYLevelTransform _level;
double _levelAngle;
NSInteger _levelMode;
CMTime _levelTime;