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

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

?? gifimage.pas

?? 超市管理系統(tǒng)
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
unit GIFImage;
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Project:	GIF Graphics Object                                           //
// Module:	gifimage                                                      //
// Description:	TGraphic implementation of the GIF89a graphics format         //
// Version:	2.2                                                           //
// Release:	5                                                             //
// Date:	23-MAY-1999                                                   //
// Target:	Win32, Delphi 2, 3, 4 & 5, C++ Builder 3 & 4                  //
// Author(s):	anme: Anders Melander, anders@melander.dk                     //
//		fila: Filip Larsen                                            //
//		rps: Reinier Sterkenburg                                      //
// Copyright:	(c) 1997-99 Anders Melander.                                  //
//		All rights reserved.                                          //
// Formatting:	2 space indent, 8 space tabs, 80 columns.                     //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Please read the "Conditions of use" in the release notes.                  //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
// Known problems:
//
// * The combination of buffered, tiled and transparent draw will display the
//   background incorrectly (scaled).
//   If this is a problem for you, use non-buffered (goDirectDraw) drawing
//   instead.
//
// * The combination of non-buffered, transparent and stretched draw is
//   sometimes distorted with a pattern effect when the image is displayed
//   smaller than the real size (shrinked).
//
// * Buffered display flickers when TGIFImage is used by a transparent TImage
//   component.
//   This is a problem with TImage caused by the fact that TImage was designed
//   with static images in mind. Not much I can do about it.
//
////////////////////////////////////////////////////////////////////////////////
// To do (in rough order of priority):
// { TODO -oanme -cFeature : TImage hook for destroy notification. }
// { TODO -oanme -cFeature : TBitmap pool to limit resource consumption on Win95/98. }
// { TODO -oanme -cImprovement : Make BitsPerPixel property writable. }
// { TODO -oanme -cFeature : Visual GIF component. }
// { TODO -oanme -cImprovement : Easier method to determine DrawPainter status. }
// { TODO -oanme -cFeature : Import to 256+ color GIF. }
// { TODO -oanme -cFeature : Make some of TGIFImage's properties persistent (DrawOptions etc). }
// { TODO -oanme -cFeature : Add TGIFImage.Persistent property. Should save published properties in application extension when this options is set. }
// { TODO -oanme -cBugFix : Solution for background buffering in scrollbox. }
//
//////////////////////////////////////////////////////////////////////////////////
{$ifdef BCB}
{$ObjExportAll On}
{$endif}

interface
////////////////////////////////////////////////////////////////////////////////
//
//		Conditional Compiler Symbols
//
////////////////////////////////////////////////////////////////////////////////
(*
  DEBUG				Must be defined if any of the DEBUG_xxx
  				symbols are defined.
                                If the symbol is defined the source will not be
                                optimized and overflow- and range checks will be
                                enabled.

  DEBUG_HASHPERFORMANCE		Calculates hash table performance data.
  DEBUG_HASHFILLFACTOR		Calculates fill factor of hash table -
  				Interferes with DEBUG_HASHPERFORMANCE.
  DEBUG_COMPRESSPERFORMANCE	Calculates LZW compressor performance data.
  DEBUG_DECOMPRESSPERFORMANCE	Calculates LZW decompressor performance data.
  DEBUG_DITHERPERFORMANCE	Calculates color reduction performance data.
  DEBUG_DRAWPERFORMANCE		Calculates low level drawing performance data.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.
  DEBUG_RENDERPERFORMANCE	Calculates performance data for the GIF to
  				bitmap converter.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.

  GIF_NOSAFETY			Define this symbol to disable overflow- and
				range checks.
                                Ignored if the DEBUG symbol is defined.

  STRICT_MOZILLA		Define to mimic Mozilla as closely as possible.
  				If not defined, a slightly more "optimal"
                                implementation is used (IMHO).

  FAST_AS_HELL			Define this symbol to use strictly GIF compliant
  				(but too fast) animation timing.
                                Since our paint routines are much faster and
                                more precise timed than Mozilla's, the standard
                                GIF and Mozilla values causes animations to loop
                                faster than they would in Mozilla.
                                If the symbol is _not_ defined, an alternative
                                set of tweaked timing values will be used.
                                The tweaked values are not optimal but are based
                                on tests performed on my reference system:
                                - Windows 95
                                - 133 MHz Pentium
                                - 64Mb RAM
                                - Diamond Stealth64/V3000
                                - 1600*1200 in 256 colors
                                The alternate values can be modified if you are
                                not satisfied with my defaults (they can be
                                found a few pages down).

  REGISTER_TGIFIMAGE            Define this symbol to register TGIFImage with
  				the TPicture class and integrate with TImage.
                                This is required to be able to display GIFs in
                                the TImage component.
                                The symbol is defined by default.
                                Undefine if you use another GIF library to
                                provide GIF support for TImage.

  PIXELFORMAT_TOO_SLOW		When this symbol is defined, the internal
  				PixelFormat routines are used in some places
                                instead of TBitmap.PixelFormat.
                                The current implementation (Delphi4, Builder 3)
                                of TBitmap.PixelFormat can in some situation
                                degrade performance.
                                The symbol is defined by default.

  CREATEDIBSECTION_SLOW		If this symbol is defined, TDIBWriter will
  				use global memory as scanline storage, instead
                                of a DIB section.
                                Benchmarks have shown that a DIB section is
                                twice as slow as global memory.
                                The symbol is defined by default.
                                The symbol requires that PIXELFORMAT_TOO_SLOW
                                is defined.

  SERIALIZE_RENDER		Define this symbol to serialize threaded
  				GIF to bitmap rendering.
                                When a GIF is displayed with the goAsync option
                                (the default), the GIF to bitmap rendering is
                                executed in the context of the draw thread.
                                If more than one thread is drawing the same GIF
                                or the GIF is being modified while it is
                                animating, the GIF to bitmap rendering should be
                                serialized to guarantee that the bitmap isn't
                                modified by more than one thread at a time. If
                                SERIALIZE_RENDER is defined, the draw threads
                                uses TThread.Synchronize to serialize GIF to
                                bitmap rendering.
*)

{$DEFINE REGISTER_TGIFIMAGE}
{$DEFINE PIXELFORMAT_TOO_SLOW}
{$DEFINE CREATEDIBSECTION_SLOW}

////////////////////////////////////////////////////////////////////////////////
//
//		Determine Delphi and C++ Builder version
//
////////////////////////////////////////////////////////////////////////////////

// Delphi 1.x
{$IFDEF VER80}
  'Error: TGIFImage does not support Delphi 1.x'
{$ENDIF}

// Delphi 2.x
{$IFDEF VER90}
  {$DEFINE VER9x}
{$ENDIF}

// C++ Builder 1.x
{$IFDEF VER93}
  // Good luck...
  {$DEFINE VER9x}
{$ENDIF}

// Delphi 3.x
{$IFDEF VER100}
  {$DEFINE VER10_PLUS}
  {$DEFINE D3_BCB3}
{$ENDIF}

// C++ Builder 3.x
{$IFDEF VER110}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE D3_BCB3}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 4.x
{$IFDEF VER120}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// C++ Builder 4.x
{$IFDEF VER125}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 5.x
{$IFDEF VER130}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE VER13_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Unknown compiler version - assume D4 compatible
{$IFNDEF VER9x}
  {$IFNDEF VER10_PLUS}
    {$DEFINE VER10_PLUS}
    {$DEFINE VER11_PLUS}
    {$DEFINE VER12_PLUS}
    {$DEFINE BAD_STACK_ALIGNMENT}
  {$ENDIF}
{$ENDIF}

////////////////////////////////////////////////////////////////////////////////
//
//		Compiler Options required to compile this library
//
////////////////////////////////////////////////////////////////////////////////
{$A+,B-,H+,J+,K-,M-,T-,X+}

// Debug control - You can safely change these settings
{$IFDEF DEBUG}
  {$C+}	// ASSERTIONS
  {$O-}	// OPTIMIZATION
  {$Q+}	// OVERFLOWCHECKS
  {$R+}	// RANGECHECKS
{$ELSE}
  {$C-}	// ASSERTIONS
  {$IFDEF GIF_NOSAFETY}
    {$Q-}// OVERFLOWCHECKS
    {$R-}// RANGECHECKS
  {$ENDIF}
{$ENDIF}

// Special options for Time2Help parser
{$ifdef TIME2HELP}
{$UNDEF PIXELFORMAT_TOO_SLOW}
{$endif}

////////////////////////////////////////////////////////////////////////////////
//
//			External dependecies
//
////////////////////////////////////////////////////////////////////////////////
uses
  sysutils,
  Windows,
  Graphics,
  Classes;

////////////////////////////////////////////////////////////////////////////////
//
//			TGIFImage library version
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFVersion		= $0202;
  GIFVersionMajor	= 2;
  GIFVersionMinor	= 2;
  GIFVersionRelease	= 5;

////////////////////////////////////////////////////////////////////////////////
//
//			Misc constants and support types
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFMaxColors	= 256;			// Max number of colors supported by GIF
  					// Don't bother changing this value!

  BitmapAllocationThreshold = 500000;	// Bitmap pixel count limit at which
  					// a newly allocated bitmap will be
                                        // converted to 1 bit format before
                                        // being resized and converted to 8 bit.

var
{$IFDEF FAST_AS_HELL}
  GIFDelayExp: integer = 10;		// Delay multiplier in mS.
{$ELSE}
  GIFDelayExp: integer = 12;		// Delay multiplier in mS. Tweaked.
{$ENDIF}
					// * GIFDelayExp:
  					// The following delay values should all
                                        // be multiplied by this value to
                                        // calculate the effective time (in mS).
                                        // According to the GIF specs, this
                                        // value should be 10.
                                        // Since our paint routines are much
                                        // faster than Mozilla's, you might need
                                        // to increase this value if your
                                        // animations loops too fast. The
                                        // optimal value is impossible to
                                        // determine since it depends on the
                                        // speed of the CPU, the viceo card,
                                        // memory and many other factors.

  GIFDefaultDelay: integer = 10;	// * GIFDefaultDelay:
  					// Default animation delay.
  					// This value is used if no GCE is
                                        // defined.
                                        // (10 = 100 mS)

{$IFDEF FAST_AS_HELL}
  GIFMinimumDelay: integer = 1;		// Minimum delay (from Mozilla source).
  					// (1 = 10 mS)
{$ELSE}
  GIFMinimumDelay: integer = 3;		// Minimum delay - Tweaked.
{$ENDIF}
					// * GIFMinimumDelay:
					// The minumum delay used in the Mozilla
                                        // source is 10mS. This corresponds to a
                                        // value of 1. However, since our paint
                                        // routines are much faster than
                                        // Mozilla's, a value of 3 or 4 gives
                                        // better results.

  GIFMaximumDelay: integer = 1000;	// * GIFMaximumDelay:
  					// Maximum delay when painter is running
  					// in main thread (goAsync is not set).
                                        // This value guarantees that a very

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩精品一区二区三区| 国产精品每日更新| 久久综合九色综合97婷婷女人 | 91免费国产视频网站| 色八戒一区二区三区| 精品国产成人系列| 亚洲精品亚洲人成人网| 久久电影网电视剧免费观看| 成人av高清在线| 欧美二区在线观看| 一区免费观看视频| 美女视频黄频大全不卡视频在线播放| 高清视频一区二区| 91精品国产高清一区二区三区| 久久精品夜色噜噜亚洲a∨ | 亚洲综合激情另类小说区| 国产一区二区三区美女| 欧美另类久久久品| 亚洲欧美一区二区三区孕妇| 久久99精品国产麻豆婷婷洗澡| 91丨porny丨最新| 亚洲精品一区二区三区在线观看 | 色综合久久天天| 久久久久久久综合狠狠综合| 一区二区三区日韩在线观看| 国产成人av影院| 欧美电视剧免费全集观看| 亚洲国产欧美日韩另类综合| 不卡免费追剧大全电视剧网站| 精品久久久网站| 青青草97国产精品免费观看无弹窗版 | 久久丝袜美腿综合| 三级在线观看一区二区| 色猫猫国产区一区二在线视频| 国产日韩欧美精品综合| 激情欧美一区二区| 欧美肥胖老妇做爰| 亚洲小少妇裸体bbw| av一区二区不卡| 中文字幕一区三区| 成人18精品视频| 国产精品午夜在线观看| 国产一区二区免费在线| 欧美一区二区播放| 日本美女一区二区三区视频| 欧美午夜寂寞影院| 亚洲国产另类精品专区| 欧美在线免费视屏| 亚洲一区免费在线观看| 欧美日韩精品一区二区三区四区 | 亚洲女与黑人做爰| 91在线国产福利| 自拍偷拍国产精品| 日本黄色一区二区| 亚洲午夜日本在线观看| 欧美久久久久免费| 免费观看久久久4p| 欧美精品一区在线观看| 国产精品一区二区三区网站| 欧美成人性福生活免费看| 国产在线精品视频| 国产精品福利一区| 日本韩国精品一区二区在线观看| 一区二区三区日韩在线观看| 欧美性感一类影片在线播放| 午夜伦理一区二区| 精品裸体舞一区二区三区| 国产传媒日韩欧美成人| 亚洲色图制服诱惑| 欧美日韩精品电影| 久久精品国产精品青草| 欧美韩日一区二区三区四区| 99久久99久久久精品齐齐| 亚洲香肠在线观看| 日韩免费视频一区| 成人av在线资源| 亚洲一区二区av在线| 精品欧美乱码久久久久久1区2区| 国产黄色成人av| 亚洲二区在线观看| 精品久久久久久久一区二区蜜臀| 成人综合婷婷国产精品久久| 亚洲免费在线视频| 欧美一区二区三区免费| 成人久久18免费网站麻豆| 亚洲国产成人porn| 国产日产欧产精品推荐色 | 欧美区视频在线观看| 国产成人在线视频免费播放| 一区二区三区 在线观看视频| 欧美日韩国产a| 国产成人综合在线观看| 亚洲精品国产无套在线观| 日韩欧美中文字幕制服| 91小视频免费看| 九色|91porny| 亚洲一二三区在线观看| 国产三级一区二区| 欧美军同video69gay| 国产91露脸合集magnet| 日韩国产在线一| 中文字幕一区视频| 精品捆绑美女sm三区| 欧美午夜电影在线播放| 国产iv一区二区三区| 乱中年女人伦av一区二区| 亚洲激情第一区| 中文文精品字幕一区二区| 91精品国产91久久久久久一区二区| thepron国产精品| 国产一区二区主播在线| 亚洲二区在线视频| 亚洲欧美aⅴ...| 欧美经典三级视频一区二区三区| 日韩一级二级三级| 91久久免费观看| www.综合网.com| 国产丶欧美丶日本不卡视频| 无码av中文一区二区三区桃花岛| **网站欧美大片在线观看| 久久久综合精品| 日韩精品一区二区三区四区视频 | 国产精品一区一区三区| 久久精品久久精品| 午夜精品一区二区三区电影天堂| 亚洲人成精品久久久久久 | 91国产免费看| 99久久精品国产观看| 成人黄色小视频在线观看| 国产一区二区三区免费播放| 精东粉嫩av免费一区二区三区| 日韩专区中文字幕一区二区| 亚洲国产成人精品视频| 亚洲综合色噜噜狠狠| 一区二区高清免费观看影视大全 | 亚洲欧美中日韩| 国产精品福利一区| 亚洲天堂久久久久久久| 中文字幕视频一区| 亚洲欧美综合另类在线卡通| 成人欧美一区二区三区视频网页| 国产午夜亚洲精品不卡| 国产女人18毛片水真多成人如厕 | 亚洲一区二区欧美日韩| 亚洲精品成a人| 亚洲成人免费影院| 日韩精品电影在线观看| 久久99精品国产91久久来源| 国产一区免费电影| www.在线欧美| 欧美在线制服丝袜| 337p亚洲精品色噜噜噜| 51精品秘密在线观看| 精品国产制服丝袜高跟| 久久女同性恋中文字幕| 国产精品亲子乱子伦xxxx裸| 1区2区3区精品视频| 亚洲一区二区偷拍精品| 秋霞国产午夜精品免费视频| 国产精品综合久久| 91在线云播放| 91精品综合久久久久久| 久久一区二区视频| 国产精品毛片大码女人| 亚洲永久免费视频| 国产一区二区三区四区在线观看| 国产69精品久久99不卡| 欧美无乱码久久久免费午夜一区| 日韩一区二区三区精品视频| 久久精品视频网| 亚洲午夜电影在线| 国产乱子伦视频一区二区三区 | 国产在线精品不卡| 成人精品小蝌蚪| 在线国产电影不卡| 精品乱人伦一区二区三区| 亚洲天堂成人在线观看| 午夜欧美视频在线观看| 一区二区在线观看免费| 麻豆国产精品视频| 91蜜桃免费观看视频| 日韩免费观看2025年上映的电影| 国产精品免费aⅴ片在线观看| 午夜伊人狠狠久久| 丁香六月综合激情| 51久久夜色精品国产麻豆| 一色屋精品亚洲香蕉网站| 免费成人在线观看| 91年精品国产| 久久久久国产一区二区三区四区| 亚洲精品日韩一| 国产91丝袜在线播放| 69堂成人精品免费视频| 一区在线观看免费| 国产黄色精品网站| 日韩一级免费观看| 香蕉久久夜色精品国产使用方法| www.综合网.com| 久久久99久久精品欧美| 五月天激情小说综合|