|
-
Jul 23rd, 2023, 10:07 AM
#4
Re: VB6 + RC6 Auto-generaed Widget-Forms via direct PSD-FileParsing
 Originally Posted by yereverluvinuncleber
I will dig into that code and see how you have done what you have achieved.
It's commented in sufficient detail (I think) - so that should help...
What was costing a bit of extra-time on my end (when working with *that* specific PSD) was basically 2 things:
1) better "PSD-group- and layer-naming" would have helped (psd-layer-group-paths will become the future Widget- and ImageList-Keys)
.. (as it was, I always had to "visualize and click" a layer for Debug-Printing its Path-Key -
.. more intuitive namings, resulting in paths like e.g. "grpBigClock/hour-hand", "grpBigClock/minute-hand" would have helped
2) when producing a PSD for "rotational stuff" - it would be good with regards to "auto-calculations",
.. to ensure the "rotation-center" exactly at PsdWidth/2 and PsdHeight/2
2.1) same for other layers (like e.g. the clock-hands) which have to be rotated around their own "sub-center-point" -
.. better to prepare them in "centerpoint-symmetric" stripes (either vertically or horizontally).
.. (had to fumble a bit, until I got these "internal clock-hand center-rotation-offsets" right in cwOverlay-Paint)
Olaf
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
|