zoukankan      html  css  js  c++  java
  • 描边时消除锯齿SetSmoothingMode

     
    SmoothingModeAntiAlias 指定消除锯齿的呈现。
    SmoothingModeDefault 指定默认模式。
    SmoothingModeHighQuality 指定高质量、低速度呈现。
    SmoothingModeHighSpeed 指定高速度、低质量呈现。
    SmoothingModeInvalid 指定一个无效模式。
    SmoothingModeNone 指定不消除锯齿。

    示例代码:

    	Graphics g(dc.GetSafeHdc()) ;
    
    		Pen pen(Color(255, 255, 0, 0), 2) ;
    		g.SetSmoothingMode(SmoothingModeAntiAlias) ;
    		g.DrawPath(&pen, path) ;


     

  • 相关阅读:
    Servlet Class4
    Servlet Class3
    Servlet Class2
    Servlet Class1
    HTTP基础知识
    XML基础知识
    JAVA Class25
    JAVA Class24
    JAVA Class23
    JAVA Class22
  • 原文地址:https://www.cnblogs.com/hgy413/p/3693608.html
Copyright © 2011-2022 走看看