问题标签 [skitch]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
354 浏览

objective-c - 模拟 Skitch 的文字效果

Skitch有一个很好的效果,它将在白色背景上绘制文本。我想模仿这种效果。我在 Cocoabuilder 上找到了这篇文章,其中给出了一个示例方法。它有点工作,但在轮廓上有一些非常尖锐的角落,而 Skitch 有很好的柔软角落。请注意,与我使用“两次绘制”算法的尝试相比,Skitch 的“S”点有多平滑(左侧是 Skitch,右侧是我的尝试)。

斯基克的文字 我的尝试

关于采取什么样的方法来获得那些漂亮的软角有什么想法吗?

0 投票
1 回答
339 浏览

google-chrome - Skitch拖放在Chrome中不起作用

我似乎无法从 Skitch 拖放到拖放目标。

投掷目标似乎没有开火。没有出现典型的绿色圆圈。

想法?

http://jsfiddle.net/AAL86/5/

0 投票
1 回答
499 浏览

ios - Draw arrow with pan using objective c

What I've got working:

I have been trying to add an arrow to an app, but am having the a most difficult time getting it to do what it needs to do. The arrow needs to be drawn from a start point as represented by a finger touch and increase in size while the user drags a finger across the screen. The arrow then must stop drawing one the finger is lifted.

What I'm having trouble with:

The arrow must be able to rotate around both the start point and the end point when the user touches a point a either end of the arrow and drags a finger in a direction. While rotating, the arrow must be able to increase and decrease it's size.

I am able to get the arrow to somewhat rotate around the start point, but with issues. Rotating around the end point causes a "fish tailing" effect. I'm pretty sure the way I'm doing it is completely wrong, but I don't know of any other way. This is why asking the community to steer me in the right direction.

Link to code on GitHub