亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? clsgradient.cls

?? 風(fēng)暴木馬非常好的木馬程序
?? CLS
字號:
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
END
Attribute VB_Name = "clsGradient"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'I got this module from somewhere else but it is the module which applys
'the gradient to the pictures which are used in the status bar

Option Explicit

'Property Storage Variables
Private mlColor1    As Long
Private mlColor2    As Long
Private mfAngle     As Single

'Property Default Constants - Colors and Angle match Kath-Rock logo.
Private Const mlDefColor1   As Long = &HFFFFD0  'Very Light Blue
Private Const mlDefColor2   As Long = &H400000  'Very Dark Blue
Private Const mfDefAngle    As Single = 315     'Upper-Left to Lower-Right

'Misc Constants
Private Const PI    As Double = 3.14159265358979
Private Const RADS  As Double = PI / 180    '<Degrees> * RADS = radians

'TypeDefs
Private Type PointSng   'Internal Point structure
    X   As Single       'Uses Singles for more precision.
    Y   As Single
End Type

Private Type PointAPI   'API Point structure
    X   As Long
    Y   As Long
End Type

Private Type RectAPI    'API Rect structure
    Left    As Long
    Top     As Long
    Right   As Long
    Bottom  As Long
End Type

'API functions and Constants
Private Const PS_SOLID As Long = 0  'Solid Pen Style (Used for CreatePen())
Private Declare Function CreatePen Lib "gdi32" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long
Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Declare Function GetClientRect Lib "user32" (ByVal hWnd As Long, lpRect As RectAPI) As Long
Private Declare Function GetPixel Lib "gdi32" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long) As Long
Private Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long
Private Declare Function GetTickCount Lib "kernel32" () As Long
Private Declare Function LineTo Lib "gdi32" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long) As Long
Private Declare Function LockWindowUpdate Lib "user32" (ByVal hWndLock As Long) As Long
Private Declare Function MoveToEx Lib "gdi32" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, lpPoint As PointAPI) As Long
Private Declare Function SelectObject Lib "gdi32" (ByVal hDC As Long, ByVal hObject As Long) As Long

Public Function Draw(picObj As Object) As Boolean

'Note: This class uses API functions to draw. If the
'      destination object is in AutoRedraw mode, the
'      Refresh method for that object must be invoked.

'picObj can be a Form or PictureBox.

Dim lRet    As Long
Dim lIdx    As Long
Dim lTime   As Long
Dim uRect   As RectAPI

'    lTime = GetTickCount()
    
    On Error GoTo LocalError
    
    'Stop the window from updating until we're finished.
    lRet = LockWindowUpdate(picObj.hWnd)
    
    'Get the client rect in pixels
    lRet = GetClientRect(picObj.hWnd, uRect)
    
    'Test for possible errors (GetClientRect failure or Rect < 2 pixels)
    If lRet <> 0 Then
        If uRect.Right > 1 And uRect.Bottom > 1 Then
            lIdx = DrawGradient(picObj.hDC, uRect.Right, uRect.Bottom)
            Draw = (lIdx > 0)
        End If
    End If
    
    'My P3-500 took 99 millisecs (.099 secs) to create and draw 2554 diagonal
    'lines at 315 degrees. That was frmDemo maximized on a 1280 x 1024 screen.
    'At this speed I can redraw an entire 1280px. screen over 10 times per second.
    
    'Same size rect at a 0 degree angle took 48 millisecs (.048 secs) to create and
    'draw 1278 lines. This speed can redraw a 1280px. screen 20 times per second.
    
    'Uncomment the two lines below and the lTime line at the top
    'of this function to test the times on your PC.
    
'    lTime = GetTickCount() - lTime
'    MsgBox CStr(lIdx / 2) & " lines drawn in " & CStr(lTime) & " milliseconds"
        
NormalExit:
    'Unlock the window to allow it to update now.
    lRet = LockWindowUpdate(0)
    Exit Function
    
LocalError:
    MsgBox Err.Description, vbExclamation
    Resume NormalExit

End Function
Public Function BlendColors(ByVal lColor1 As Long, ByVal lColor2 As Long, ByVal lSteps As Long, laRetColors() As Long) As Long

'Creates an array of colors blending from
'Color1 to Color2 in lSteps number of steps.
'Returns the count and fills the laRetColors() array.

Dim lIdx    As Long
Dim lRed    As Long
Dim lGrn    As Long
Dim lBlu    As Long
Dim fRedStp As Single
Dim fGrnStp As Single
Dim fBluStp As Single

    'Stop possible error
    If lSteps < 2 Then lSteps = 2
    
    'Extract Red, Blue and Green values from the start and end colors.
    lRed = (lColor1 And &HFF&)
    lGrn = (lColor1 And &HFF00&) / &H100
    lBlu = (lColor1 And &HFF0000) / &H10000
    
    'Find the amount of change for each color element per color change.
    fRedStp = Div(CSng((lColor2 And &HFF&) - lRed), CSng(lSteps))
    fGrnStp = Div(CSng(((lColor2 And &HFF00&) / &H100&) - lGrn), CSng(lSteps))
    fBluStp = Div(CSng(((lColor2 And &HFF0000) / &H10000) - lBlu), CSng(lSteps))
    
    'Create the colors
    ReDim laRetColors(lSteps - 1)
    laRetColors(0) = lColor1            'First Color
    laRetColors(lSteps - 1) = lColor2   'Last Color
    For lIdx = 1 To lSteps - 2          'All Colors between
        laRetColors(lIdx) = CLng(lRed + (fRedStp * CSng(lIdx))) + _
            (CLng(lGrn + (fGrnStp * CSng(lIdx))) * &H100&) + _
            (CLng(lBlu + (fBluStp * CSng(lIdx))) * &H10000)
    Next lIdx
    
    'Return number of colors in array
    BlendColors = lSteps

End Function
Private Function DrawGradient(ByVal hDC As Long, ByVal lWidth As Long, ByVal lHeight As Long) As Long

Dim bDone       As Boolean
Dim iIncX       As Integer
Dim iIncY       As Integer
Dim lIdx        As Long
Dim lRet        As Long
Dim hPen        As Long
Dim hOldPen     As Long
Dim lPointCnt   As Long
Dim laColors()  As Long
Dim fMovX       As Single
Dim fMovY       As Single
Dim fDist       As Single
Dim fAngle      As Single
Dim fLongSide   As Single
Dim uTmpPt      As PointAPI
Dim uaPts()     As PointAPI
Dim uaTmpPts()  As PointSng
    
    On Error GoTo LocalError
    
    'Start with center of rect
    ReDim uaTmpPts(2)
    uaTmpPts(2).X = Int(lWidth / 2)
    uaTmpPts(2).Y = Int(lHeight / 2)
    
    'Calc distance to furthest edge as if rect were square
    fLongSide = IIf(lWidth > lHeight, lWidth, lHeight)
    fDist = (Sqr((fLongSide ^ 2) + (fLongSide ^ 2)) + 2) / 2
    
    'Create points to the left and the right at a 0

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久久久久晋中| jvid福利写真一区二区三区| 国产精品久久久久久亚洲毛片| 日韩一区二区三| 亚洲国产精品久久久久婷婷884 | 欧美成人一区二区三区在线观看| 97精品久久久久中文字幕| 国产乱一区二区| 国产美女视频91| 国产综合色精品一区二区三区| 精品一区二区成人精品| 久草精品在线观看| 韩国成人福利片在线播放| 国产乱一区二区| aaa亚洲精品一二三区| 波多野结衣在线aⅴ中文字幕不卡| 成人av资源在线观看| 菠萝蜜视频在线观看一区| 一本色道久久综合亚洲aⅴ蜜桃| 欧美视频一区二区三区在线观看| 欧美日本在线观看| 日韩三级.com| 国产精品毛片久久久久久| 亚洲欧美另类综合偷拍| 亚洲成a人片综合在线| 日本va欧美va瓶| 国产一级精品在线| 99久久精品免费观看| 欧美视频在线不卡| 久久婷婷色综合| 亚洲欧洲精品天堂一级| 婷婷综合在线观看| 国内精品伊人久久久久av影院 | 日韩电影免费在线| 国产一区二区精品久久| 91视频91自| 日韩亚洲欧美综合| 亚洲视频精选在线| 蜜桃视频在线一区| 99re6这里只有精品视频在线观看| 欧美日本在线播放| 国产欧美一区二区在线| 亚洲福利电影网| 成人激情文学综合网| 欧美日韩国产精品自在自线| 国产色产综合产在线视频| 一区二区三区在线视频播放| 国内精品伊人久久久久av一坑| 91视频一区二区三区| 日韩欧美二区三区| 亚洲午夜日本在线观看| 国产宾馆实践打屁股91| 欧美一区二区大片| 一区二区三区高清| 一区二区三区在线视频播放| 丝袜亚洲另类欧美综合| 国产成人精品午夜视频免费| 欧美人伦禁忌dvd放荡欲情| 中文字幕中文在线不卡住| 老司机免费视频一区二区三区| 91激情五月电影| 中文字幕成人av| 国产激情一区二区三区四区| 日韩一区二区在线观看视频播放| 亚洲综合色成人| 久久精品夜色噜噜亚洲aⅴ| 五月激情综合网| 欧美男人的天堂一二区| 亚洲日本韩国一区| 成人av网站大全| 精品成人一区二区| 加勒比av一区二区| 欧美va天堂va视频va在线| 日韩不卡在线观看日韩不卡视频| 欧美天天综合网| 亚洲成av人在线观看| 91国模大尺度私拍在线视频 | 成年人午夜久久久| 久久九九影视网| 国产精品99精品久久免费| 久久久久国产一区二区三区四区| 精品无人码麻豆乱码1区2区| 欧美一二三四在线| 激情都市一区二区| 国产拍揄自揄精品视频麻豆| 国产成人午夜片在线观看高清观看| 精品av久久707| 国产不卡视频一区二区三区| 国产精品视频一区二区三区不卡| 成人精品免费看| 中文字幕亚洲精品在线观看| 91在线观看下载| 一区二区久久久| 欧美女孩性生活视频| 日韩中文字幕亚洲一区二区va在线| 欧美精品第1页| 激情五月激情综合网| 久久久99精品久久| 91亚洲永久精品| 日韩成人伦理电影在线观看| wwww国产精品欧美| 99久久婷婷国产| 婷婷国产在线综合| 精品sm捆绑视频| 91免费精品国自产拍在线不卡 | 69p69国产精品| 精品系列免费在线观看| 中文在线资源观看网站视频免费不卡 | 国产清纯白嫩初高生在线观看91 | 欧美在线播放高清精品| 热久久免费视频| 国产精品久久久久久亚洲毛片| 欧美日韩精品一区视频| 韩国精品一区二区| 一区二区三区中文字幕电影| 精品不卡在线视频| 欧美日韩中文另类| 大美女一区二区三区| 亚洲第一主播视频| **欧美大码日韩| 精品日韩欧美在线| 欧美色图片你懂的| 国产99精品在线观看| 亚洲成人av中文| 18成人在线视频| 久久综合狠狠综合久久激情| 欧美伊人久久久久久午夜久久久久| 久久国产尿小便嘘嘘尿| 一卡二卡三卡日韩欧美| 国产拍欧美日韩视频二区| 日韩一区二区不卡| 欧美日高清视频| 色呦呦国产精品| 丁香激情综合五月| 久久99久久久久| 日韩精品一级二级| 亚洲午夜免费福利视频| 亚洲人成在线播放网站岛国| 国产三级精品在线| 日韩欧美中文字幕一区| 欧美日韩高清一区| 欧洲另类一二三四区| 99久久婷婷国产综合精品电影| 国产精品69久久久久水密桃| 久久不见久久见中文字幕免费| 午夜精品久久久久久久99樱桃| 亚洲人妖av一区二区| 国产精品成人一区二区艾草 | 天天操天天色综合| 一区二区久久久久| 亚洲一区二区欧美激情| 亚洲欧洲中文日韩久久av乱码| 欧美激情在线一区二区三区| 欧美tickle裸体挠脚心vk| 不卡的av中国片| 国产成人精品网址| 国产麻豆视频精品| 国产成人久久精品77777最新版本| 捆绑紧缚一区二区三区视频| 免费xxxx性欧美18vr| 麻豆一区二区三| 国产美女精品人人做人人爽 | 岛国精品在线播放| 91在线你懂得| 欧美专区在线观看一区| 777午夜精品视频在线播放| 欧美男人的天堂一二区| 欧美一区二区三区在线视频| 日韩精品在线一区| 久久久噜噜噜久噜久久综合| 国产精品视频第一区| 一区二区三区四区在线播放| 亚洲成av人片www| 美女视频黄频大全不卡视频在线播放 | 色综合天天做天天爱| 成人精品视频一区| 成人av中文字幕| 欧美吞精做爰啪啪高潮| 欧美一区二区日韩| 久久综合五月天婷婷伊人| 欧美国产综合一区二区| 亚洲另类一区二区| 日本欧美在线看| 丁香亚洲综合激情啪啪综合| 欧美在线观看视频一区二区三区| 欧美一区二区免费| 亚洲国产精品v| 亚洲成人av免费| 成人黄色在线网站| 欧美一区午夜视频在线观看| 欧美极品xxx| 日韩电影免费一区| 9久草视频在线视频精品| 欧美一区二区三区在线电影| 国产精品久久久久aaaa樱花 | 99re这里都是精品| 日韩欧美亚洲另类制服综合在线 | 欧美亚洲愉拍一区二区| 26uuu精品一区二区三区四区在线| 亚洲视频每日更新|