将图形路径转换为压缩字符串 [英] Convert a graphicspath to a compressed string

查看:52
本文介绍了将图形路径转换为压缩字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由多个圆圈组成的图形路径可能会重叠......

我需要将图形路径转换为字符串,而那个字符串我想要
喜欢尽可能小


任何想法?


-

干杯,

Crirus


------------------------------

如果工作是件好事,老板会把这一切都从你那里拿走


------------------- -----------

I have a graphics path composed from multiple circles that may overlap...
That graphics path I need it converted to a string and that string I whould
like to be as small as possible

Any ideeas?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

推荐答案

*" Crirus" <铬**** @ datagroup.ro> scripsit:
* "Crirus" <Cr****@datagroup.ro> scripsit:
我有一个由多个圆圈组成的图形路径可能会重叠...
我需要将它转换为字符串的图形路径和我想要的字符串
尽可能小
I have a graphics path composed from multiple circles that may overlap...
That graphics path I need it converted to a string and that string I whould
like to be as small as possible




字符串?我不明白你想做什么。 ''GraphisPath''可以

有自定义形状,你如何将其转换为字符串?!


-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>



String? I don''t understand what you want to do. A ''GraphisPath'' can
have a custom shape, how would you convert that to a "string"?!

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


那个这是我的意思......我需要通过TCP将它发送给客户端......所以我需要

将GraphicsPath分解为一种字符串,可以重构为

另一边的GraphicsPath


-

干杯,

Crirus


------------------------------

如果工作是好事,那么老板会把这一切都从你那里拿走


------------------------------


" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

news:OA ************** @ TK2MSFTNGP10.phx.gbl ...
That''s the ideea... I need to send it over TCP to a client... so I need to
decompose the GraphicsPath to a sort of string thatc an be reconstructed as
GraphicsPath on the other side

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OA**************@TK2MSFTNGP10.phx.gbl...
*" Crirus" <铬**** @ datagroup.ro> scripsit:
* "Crirus" <Cr****@datagroup.ro> scripsit:
我有一个由多个圆圈组成的图形路径,可能
重叠......我需要将它转换为字符串的图形路径和字符串I
想要尽可能小
I have a graphics path composed from multiple circles that may overlap... That graphics path I need it converted to a string and that string I whould like to be as small as possible



字符串?我不明白你想做什么。一个''GraphisPath''可以有一个自定义的形状,你怎么把它转换成一个字符串?!

-
Herfried K. Wagner [MVP]
< http://www.mvps.org/dotnet>



String? I don''t understand what you want to do. A ''GraphisPath'' can
have a custom shape, how would you convert that to a "string"?!

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>






GraphicsPath.PathPoints返回一个pointf数组。我想你

将其转换为字符串。它不会小。




----------------------

" Crirus" <铬**** @ datagroup.ro>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Hi,

The GraphicsPath.PathPoints returns an array of pointf. I guess you
convert that to a string. It wont be small.

Ken
----------------------
"Crirus" <Cr****@datagroup.ro> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
我有由可能重叠的多个圆组成的图形路径...
我需要将它转换为字符串的图形路径,并且该字符串我希望尽可能小

任何想法?

-
干杯,
Crirus

------------- -----------------
如果工作是件好事,老板会把这一切都从你身上拿走

------ ------------------------
I have a graphics path composed from multiple circles that may overlap...
That graphics path I need it converted to a string and that string I
whould
like to be as small as possible

Any ideeas?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------



这篇关于将图形路径转换为压缩字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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