private void ParseBitmapFill(BitmapFill tag) { if (rects.ContainsKey(tag.CharacterId)) { System.Drawing.Rectangle r = rects[tag.CharacterId]; tag.CharacterId = fullBitmapId; //bitmap id tag.Matrix.TranslateX = r.Left * twips; // x offset tag.Matrix.TranslateY = r.Top * twips; // y offset } else { Console.WriteLine("not found: " + tag.CharacterId); } }
public FillStyle(Character ImageFill, BitmapFill bitmapFill) { this._ImageFill = ImageFill; this._Type = (FillStyleType) bitmapFill; }
public FillStyle(Character ImageFill, BitmapFill bitmapFill) { this._ImageFill = ImageFill; this._Type = (FillStyleType)bitmapFill; }