在运行时绘制和操作形状 [英] Draw and manipulate shapes at run time

查看:105
本文介绍了在运行时绘制和操作形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Delphi在运行时交互式绘制形状的最佳方式是什么?我需要能够选择,拖动和调整形状。这将被用于标记现有的图像和文件。



这看起来像一个好的起点,但我想知道是否有更完整的图书馆(最好是免费的)可以节省一些时间。



更新:

如果您打算从头开始使用自定义解决方案,我在Delphi Central上看到另一个示例,它可能更好的起点 >解决方案

一个免费软件选项是 TssControlSizer 。只需将控制属性更改为要操作调整大小/移动的控件即可。

What's the best way to draw shapes interactively at run time using Delphi? I need to be able to select, drag and resize the shapes. This will be used to mark up existing images and documents.

This looks like a good starting point, but I'm wondering if there's a more complete library (preferably free) available that will save some time.

Update:

If you're going with a custom solution from scratch, I've seen another example on Delphi Central that might be an even better starting point.

解决方案

One freeware option would be TssControlSizer. Just change the "control" property to the control you want to manipulate resize/move.

这篇关于在运行时绘制和操作形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆