|
-
March 14th, 2011, 08:34 AM
#1
PathGradientBrush: How to obtain the points?
Hi to all,
I'm looking for a method to obtain the coordinates of the points a PathGradientBrush is made of.
Details:
My questions belongs to the .NET class PathGradientBrush (not to the underlying GDI+ object!). Therefore I am working in C++/CLI.
Asume you have constructed a PathGradientBrush object by:
PathGradientBrush^ pBrush = gcnew PathGradientBrush(pts);
where pts is of array<Point>^ (contains the points of the path for the brush).
Now my question is:
Is it possible to obtain just from the constructed brush (pBrush) the point-coordinates it is made of? It seems that the PathGradientBrush class doesn't store them anywhere!?
The reason for my question is that I want to write all properties of the brush into a file so I can read them back and construct the brush again. I know I could store additional information by myself but I want to know whether these informations are stored anywhere within the brush?
Thank's in advance
Physicus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|