Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10513 for branches


Ignore:
Timestamp:
02/25/14 19:39:45 (11 years ago)
Author:
bburlacu
Message:

#1265: Added TextPrimitive and LabeledPrimitive. Fixed group drawing order.

Location:
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/HeuristicLab.Visualization-3.3.csproj

    r7780 r10513  
    124124    <Compile Include="Primitives\Axis.cs" />
    125125    <Compile Include="Primitives\AxisPrimitiveBase.cs" />
     126    <Compile Include="Primitives\LabeledPrimitive.cs" />
    126127    <Compile Include="Primitives\LinearPrimitiveBase.cs" />
    127128    <Compile Include="Primitives\RectangularPrimitiveBase.cs" />
     
    135136    <Compile Include="Primitives\Rectangle.cs" />
    136137    <Compile Include="Primitives\SelectionRectangle.cs" />
     138    <Compile Include="Primitives\TextPrimitive.cs" />
    137139    <Compile Include="PropertiesDialog.cs">
    138140      <SubType>Form</SubType>
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/Primitives/Group.cs

    r9415 r10513  
    194194
    195195    public override void Draw(Graphics graphics) {
    196       foreach (var primitive in myPrimitives) {
     196      var current = myPrimitives.Last;
     197      while (current != null) {
     198        var primitive = current.Value;
    197199        primitive.PreDraw(graphics);
    198200        primitive.Draw(graphics);
    199201        primitive.PostDraw(graphics);
     202        current = current.Previous;
    200203      }
    201204    }
Note: See TracChangeset for help on using the changeset viewer.