Skip to content

Grouping GDI+ Objects logically

Dan AtHisDesk

Asked Feb 19, 2006, 11:45 PM EST2 answers
Share
LinkedInX
I need to generate objects in GDI+ that are made up of several shapes each of a different colour. Each object will be transformed in various ways (rotated, Translated and scaled) as a single unit without effecting other objects on the "canvas"

Is there any support built into GDI+ to do this or would i need to manage the grouping myself. Of course GraphicsPaths won't cut it and I have looking into using GraphicsContrainers but they make it awkward to keep track of global coordinates.

Help please anyone.

Thanks
Dan

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0
    You have to manage the group yourself. GDI+ does not have any support what you are looking for.
    0
  • 0

    Thanks Mahesh,

    Bizzarely I was just reading through your book to find the answer!

    Great, I know where to go from here then.

    Dan

    0