예제 #1
0
 public SheetMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.SheetCollectionSelector = (SheetCollection)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Disposition             = (SheetDisposition)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Bounds = SerializedPacket.DeserializeRectangle(p.GetNextPart());
     this.Height = SerializedPacket.DeserializeInt(p.GetNextPart());
 }
예제 #2
0
 public SlideMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.LocalId = (!SerializedPacket.IsNullPacket(p.PeekNextPart())) ?
                    new LocalId(p.PeekNextPart()) : null; p.GetNextPart();
     this.Title  = SerializedPacket.DeserializeString(p.GetNextPart());
     this.Zoom   = SerializedPacket.DeserializeFloat(p.GetNextPart());
     this.Bounds = SerializedPacket.DeserializeRectangle(p.GetNextPart());
     this.SlideBackgroundColor = SerializedPacket.DeserializeColor(p.GetNextPart());
     this.SubmissionSlideGuid  = SerializedPacket.DeserializeGuid(p.GetNextPart());
     this.SubmissionStyle      = (SlideModel.StudentSubmissionStyle)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Disposition          = (SlideDisposition)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.AssociationSlideId   = SerializedPacket.DeserializeGuid(p.GetNextPart());
 }
예제 #3
0
 public DrawingAttributesSerializer(SerializedPacket p)
 {
     this.AntiAliased        = SerializedPacket.DeserializeBool(p.GetNextPart());
     this.Color              = SerializedPacket.DeserializeColor(p.GetNextPart());
     this.ExtendedProperties = new ArrayList();
     this.FitToCurve         = SerializedPacket.DeserializeBool(p.GetNextPart());
     this.Height             = SerializedPacket.DeserializeFloat(p.GetNextPart());
     this.IgnorePressure     = SerializedPacket.DeserializeBool(p.GetNextPart());
     this.PenTip             = (PenTip)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.RasterOperation    = (RasterOperation)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Transparency       = SerializedPacket.DeserializeByte(p.GetNextPart());
     this.Width              = SerializedPacket.DeserializeFloat(p.GetNextPart());
 }
예제 #4
0
 public TabletPropertyDescriptionInformation(SerializedPacket p)
 {
     this.PacketPropertyId = Guid.Empty;
     this.TabletPropertyMetrics_Maximum    = 0;
     this.TabletPropertyMetrics_Minimum    = 0;
     this.TabletPropertyMetrics_Resolution = 0.0f;
     this.TabletPropertyMetrics_Units      = TabletPropertyMetricUnit.Default;
     SerializedPacket.VerifyPacket(p, this.GetClassId());
     this.PacketPropertyId = SerializedPacket.DeserializeGuid(p.GetNextPart());
     this.TabletPropertyMetrics_Maximum    = SerializedPacket.DeserializeInt(p.GetNextPart());
     this.TabletPropertyMetrics_Minimum    = SerializedPacket.DeserializeInt(p.GetNextPart());
     this.TabletPropertyMetrics_Resolution = SerializedPacket.DeserializeFloat(p.GetNextPart());
     this.TabletPropertyMetrics_Units      = (TabletPropertyMetricUnit)SerializedPacket.DeserializeLong(p.GetNextPart());
 }
예제 #5
0
 public DeckMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.HumanName           = SerializedPacket.DeserializeString(p.GetNextPart());
     this.Disposition         = (DeckDisposition)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.DeckBackgroundColor = SerializedPacket.DeserializeColor(p.GetNextPart());
 }