Ejemplo n.º 1
0
 public HCFont()
 {
     FFontStyles    = new HCFontStyles();
     FPixelsPerInch = HCCanvas.ScreenLogPixels;
     FLogFont       = new LOGFONT();
     ReCreateHandle();
 }
Ejemplo n.º 2
0
 protected void SetFontStyles(HCFontStyles value)
 {
     if (FFontStyles != value)
     {
         FFontStyles = value;
     }
 }
Ejemplo n.º 3
0
 protected void SetFontStyles(HCFontStyles Value)
 {
     if (FFontStyles != Value)
     {
         FFontStyles = Value;
     }
 }
Ejemplo n.º 4
0
 public HCTextStyle()
 {
     FSize       = DefaultFontSize;
     FFamily     = DefaultFontFamily;
     FFontStyles = new HCFontStyles();
     FColor      = Color.Black;
     FBackColor  = Color.Transparent;
 }
Ejemplo n.º 5
0
 public void AssignEx(HCTextStyle ASource)
 {
     this.FSize       = ASource.Size;
     this.FFontStyles = ASource.FontStyles;
     this.FFamily     = ASource.Family;
     this.FColor      = ASource.Color;
     this.FBackColor  = ASource.BackColor;
 }
Ejemplo n.º 6
0
 public HCTextStyle()
 {
     FSize       = DefaultFontSize;
     FFamily     = DefaultFontFamily;
     FFontStyles = new HCFontStyles();
     FColor      = Color.Black;
     FBackColor  = HC.HCTransparentColor;
     FOutMetSize = 0;
 }
Ejemplo n.º 7
0
        public HCTextStyle()
        {
            FSize       = DefaultFontSize;
            FFamily     = DefaultFontFamily;
            FFontStyles = new HCFontStyles();
            FColor      = Color.Black;
            FBackColor  = HC.HCTransparentColor;
            FTextMetric = new TEXTMETRICW();
            FOutMetSize = 0;

            FOutlineTextmetric = new OUTLINETEXTMETRICW();
            FFontHeader        = new TT_HHEA();
        }
Ejemplo n.º 8
0
 public HCFont()
 {
     FFontStyles = new HCFontStyles();
     FLogFont    = new LOGFONT();
     ReCreateHandle();
 }