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

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

?? hgraf.h

?? 隱馬爾科夫模型工具箱
?? H
字號:
/* ----------------------------------------------------------- *//*                                                             *//*                          ___                                *//*                       |_| | |_/   SPEECH                    *//*                       | | | | \   RECOGNITION               *//*                       =========   SOFTWARE                  */ /*                                                             *//*                                                             *//* ----------------------------------------------------------- *//*         Copyright: Microsoft Corporation                    *//*          1995-2000 Redmond, Washington USA                  *//*                    http://www.microsoft.com                 *//*                                                             *//*   Use of this software is governed by a License Agreement   *//*    ** See the file License for the Conditions of Use  **    *//*    **     This banner notice must not be removed      **    *//*                                                             *//* ----------------------------------------------------------- *//*         File: HGraf.h:   Minimal Graphics Interface         *//* ----------------------------------------------------------- *//* Win32 port: Peter Silsbee                                   *//* !HVER!HGraf:   3.2 [CUED 09/12/02] *//*   This module provides a minimal graphics facility.  It provides a    single fixed-size window onto which the graphics and text can    be painted.  A restricted event handler allows simple interactive   graphics and window repair.      The coordinate system used has (0,0) at the top left corner with   x increasing left and y increasing down.  All draw operations use   the current colour, line width and transfer mode.*//*      WIN32: The window is resizable and can be minimized to the taskbar,     but the drawing area has a fixed size. The window is automatically    repainted when it is uncovered, so most applications can ignore    HREDRAW events, although they are still generated.*/#ifndef _HGRAF_H_#define _HGRAF_H_#ifdef __cplusplusextern "C" {#endif#define MAX_GREYS   64      /* implementations may quantise further */#define MAX_COLOURS 16enum _HColour { WHITE, YELLOW, ORANGE, RED, MAUVE, PURPLE, DARK_BLUE,                 LIGHT_BLUE, DARK_GREEN, LIGHT_GREEN, DARK_BROWN, LIGHT_BROWN,                 LIGHT_GREY, GREY, DARK_GREY, BLACK};typedef enum _HColour HColour;  /* implementations may map these onto grey */enum _XferMode {GCOPY, GOR, GXOR, GINVERT};typedef enum _XferMode XferMode;/* The following types define the small subset of events which HGraf   assumes can be generated by the graphics engine.  Where multi-button   mouses are available - only the left button is used.  It is assumed   that modifier keys such as the shift key generate both keypress   and keyrelease events.  The redraw event indicates that part of the   window is damaged and should be redrawn.  There is no facility   to specify that only a subpart of the window has been damaged.   At least one redraw event is guaranteed immediately after calling   InitGraf*/enum _HEvent {HMOUSEDOWN,  /* (left) mouse button pressed */              HMOUSEUP,    /* (left) mouse button released */              HMOUSEMOVE,  /* mouse has moved */              HKEYPRESS,   /* key pressed */              HKEYRELEASE, /* key released */              HREDRAW      /* window damaged */};enum _KeyType {NORMALKEY, SHIFTKEY, COMMANDKEY, CONTROLKEY,                ENTERKEY, DELKEY, ESCKEY};typedef enum _HEvent HEvent;typedef enum _KeyType KeyType;typedef struct {   HEvent event;     /* type of event */   int x,y;          /* position of mouse */   unsigned char c;  /* keypress char */   KeyType ktype;    /* type of key pressed */} HEventRec;typedef struct {       short x, y;} HPoint;/* ------------------ Initialisation and Termination -----------------------*/void InitGraf(void);/*   Initialise the module*/void MakeXGraf(char *wname, int x, int y, int w, int h, int bw);/*    Create a window of width w and height h, with top left corner at   x,y and border width bw.*/void TermHGraf(void);/*   Close down graphics window and clean up.  This call is superfluous   in vanilla ANSI C implementations which implement at_exit.*//* ------------------------ Event Handling --------------------------- */HEventRec HGetEvent(Boolean anyEvent, void (*action)(void));/*    Return next event in event queue.  If an action routine is   supplied and there are no events pending, then that routine    is called repeatedly until an event occurs.  If anyEvent is    FALSE then only events for the HGraf window are returned,   otherwise, all events are returned.   WIN32: in practice, anyEvent is effectively ignored. If it is TRUE,   then all events for the current thread are returned; but since only   one window is allowed, all events will be associated with the HGraf   window.*/int HEventsPending(void);/*    Return the number of events pending in the event queue   WIN32: returns 1 if (number` of events >= 1)*/Boolean HMousePos(int *x, int *y);/*    Return mouse pos in x, y, returns TRUE if the pointer    is on the window    WIN32: Mouse position is not updated when the cursor is outside   the window, UNLESS the button was pressed within the window and is   still pressed. This is the only time the application should need   to know the mouse position.*/Boolean IsInRect(int x, int y, int x0, int y0, int x1, int y1);/*   Return TRUE if the point (x,y) lies within the rectangle   with top-left at (x0,y0) and bottom right at (x1,y1)*//* ------------------------ Drawing Primitives ----------------------- */void HDrawLine(int x0, int y0, int x1, int y1);/*    Draw a line between x0, y0 and x1, y1 */void HDrawLines(HPoint *points, int n);/*    Draw the sequence of lines which connect the n points stored   in the array points.  If the last point is the same as the first   then a polygon will be drawn, otherwise an open curve will be    drawn*/void HFillPolygon(HPoint *points, int n);/*    Draw/fill the convex polygon whose vertices are stored in   the n points stored in the array points*/void HDrawRectangle(int x0, int y0, int x1, int y1);void HFillRectangle(int x0, int y0, int x1, int y1);/*    Draw/fill a rectangle with top left corner at x0,y0   and bottom right corner at x1,y1*/void HDrawArc(int x0, int y0, int x1, int y1, int stAngle, int arcAngle);void HFillArc(int x0, int y0, int x1, int y1, int stAngle, int arcAngle);/*   Draw/fill an arc from stAngle degrees thru arcAngle degrees such   that if arcAngle=360, the closed contour would just fit inside the   rect with top-left at (x0,y0) and bottom right at (x1,y1).  Positive   angles are anticlockwise and 0 degrees is along the positive x   axis.*/void HPrintf(int x, int y, char *format, ...);/*    Print the text defined by format such that the left side of the baseline   of the first character is at x,y.  The format and following   argument list work as for the standard C printf.*/void HCopyArea(int srcx, int srcy, int width, int height, int destx, int desty);/*    Copy a rectangular area of the given width and height from (srcx,srcy)   to (destx,desty).   This routine is mainly used for scrolling.*/void HPlotVector(int x0,int y0,int x1,int y1, Vector v, int st,                  int en, float ymax, float ymin);/*   Plot the values from v[st]..v[en] within the rectangle defined    by x0,y0,x1,y1 such that peak values of ymax and ymin would just   touch the top and bottom of the rectangle.  The plot is drawn   the conventional way round ie positive values in the -ve y direction*//* ----------------------------- Settings --------------------------------- */void HSetColour(HColour c);/*   Set the current colour to c */void HSetGrey(int g);/*    Set current colour to grey level g in range 0 to 63 */void HSetFontSize(int size);/*    Set the current font size in points, 0 selects the default font.   Maximum range supported is 8 to 24 but implementations may offer   less than this.  Actual font size set is closest to that offered   by implementation.*/void HSetLineWidth(int w);/*    Set the line width to w pixels */void HSetXMode(XferMode m);/*    Set current transfer mode to m*/int CentreX(int x, char *str);/*    Return the position at which the the h-center of str will be at x */int CentreY(int y, char *str);/*    Return the position at which the the v-center of str will be at y */int HTextWidth(char *str);/*    Return the width of string str in pixels */int HTextHeight(char *str);/*    Return the height of string str in pixels *//* --------------------------- Misc Routines -----------------------------*/void HDrawImage(unsigned char *p, int x, int y, int width, int height);/*   Draw a grey scale image width by height pixels with top left   corner at (x,y).  Each pixel is a single byte stored in   row order , p points to the first (top-left) pixel  WIN32: p should be on a word boundary.*/void HFlush(void);/*    For buffered graphics systems, this flushes pending draw requests.   For non-buffered systems it has no effect.*/void HSpoolGraf(char *fname);/*    Start saving an image of window in the file fname.  This routine may   not be implemented.  It is intended for graphics systems which have   an object oriented dump format such as PICT.    	 WIN32: This call must be balanced by a call to HEndSpoolGraf.*/void HEndSpoolGraf(void);/*	WIN32: Close the Metafile opened in HSpoolGraf. 	Should be followed by redraw of the window.*/void HDumpGraf(char *fname);/*    Dump a pixel image of current display into fname.  This routine   may not be implemented.  The format of the dumped image is    implementation dependent.   WIN32: Routine is implemented and creates a BMP file. The size of   the file depends on the display color resolution in effect when    the application is launched; full-color displays store 32 bits for   each pixel!*//* --------------------- Button facility --------------------- */typedef struct _HButton *BtnLink;typedef short ButtonId;typedef struct _HButton {    int x, y, w, h;            /* size of button rectangle */   HColour fg, bg;            /* colors */   Boolean lit;               /* if true, invert colors */   Boolean active;            /* if false, stipple gray */   Boolean toggle;            /* if true, clicking toggles state */   char *str;                 /* string in button */   ButtonId id;    BtnLink next;   void (*action)(void);      /* ptr to function to call whilst button is down */} HButton;HButton *CreateHButton(HButton *btnlst, ButtonId btnid, int x, int y, int w,                        int h, char *str, HColour fg, HColour bg, void (*action)(void));/*   CreateHButton: create a button object at position (x,y) of width/height (w,h),   foreground/background colours (fg,bg) and str displayed inside, (*acton) will   be executed when the button is de-pressed.*/void RedrawHButton(HButton *btn);/*    RedrawHButton: readraw the button on the screen.*/void RedrawHButtonList(HButton *btnlst);/*   RedrawHButtonList: redraw each item in the list of buttons.*/HButton *FindButton(HButton *btnlst, ButtonId key);/*   FindButton: return a pointer to the button object with ButtonId.*/void SetActive(HButton *btnlst, Boolean active);/*   SetActive: set the active field in each button object to active.*/HButton *CheckButtonList(HButton *btnlst, int x, int y);/*   CheckButtonList: return a pointer to the button object which contains (x,y).*/void SetButtonLit(HButton *btn, Boolean lit);/*   SetButtonLit: redraw the button object in inverse colours. */ButtonId TrackButtons(HButton *btnlist, HEventRec hev);/*   TrackButtons: track the mouse pointer until the mouse button released and   return the ButtonId of the object which contains the mouse pointer, 0 if    none.*/#ifdef __cplusplus}#endif#endif  /* _HGRAF_H_ *//* --------------------------- End of HGraf.h ---------------------------- */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本aⅴ精品一区二区三区| 自拍偷拍国产亚洲| 久久国产人妖系列| 日韩欧美国产电影| 蜜臀久久99精品久久久画质超高清| 欧美日韩三级在线| 美女脱光内衣内裤视频久久影院| 日韩一区二区在线观看视频| 国产自产v一区二区三区c| 亚洲国产经典视频| 色综合一个色综合| 日本亚洲电影天堂| 国产日韩亚洲欧美综合| 99久久精品国产导航| 亚洲第一久久影院| 久久九九影视网| 色哟哟国产精品| 免费在线观看精品| 中文字幕欧美激情| 欧美美女bb生活片| 国产成人丝袜美腿| 亚洲第一综合色| 欧美激情一区在线观看| 欧美三级电影在线观看| 国产一区二区三区免费看| 中文字幕在线免费不卡| 欧美精品一卡二卡| 国产jizzjizz一区二区| 一区二区三区日韩精品视频| 欧美videos中文字幕| 9人人澡人人爽人人精品| 日韩制服丝袜av| 国产精品久久久久久久岛一牛影视| 欧美三级韩国三级日本一级| 国产成人精品aa毛片| 午夜精品久久久久| 中文字幕免费不卡| 日韩欧美电影一区| 日本电影亚洲天堂一区| 国产原创一区二区| 石原莉奈在线亚洲二区| 亚洲国产成人一区二区三区| 日韩欧美美女一区二区三区| 一本一道综合狠狠老| 黑人巨大精品欧美一区| 午夜精品爽啪视频| 亚洲视频图片小说| 国产欧美一区二区精品仙草咪 | 亚洲欧美电影一区二区| 欧美大片免费久久精品三p| 91国偷自产一区二区三区观看| 国产一区二区三区免费| 日本不卡123| 天天操天天干天天综合网| 亚洲另类在线一区| 国产精品乱人伦| 久久精品视频在线免费观看| 91精品国产乱| 欧美另类z0zxhd电影| 欧美在线综合视频| 91美女视频网站| 99精品视频在线观看免费| 国产美女精品人人做人人爽| 久久99精品一区二区三区三区| 亚洲国产成人91porn| 亚洲一区二区三区国产| 亚洲一区二区中文在线| 亚洲精选在线视频| 亚洲欧美成人一区二区三区| 亚洲欧洲另类国产综合| 亚洲欧洲三级电影| 亚洲人成亚洲人成在线观看图片| 国产精品系列在线| 国产精品久久久久久久久搜平片| 国产人成一区二区三区影院| 国产欧美综合色| 国产精品美女久久久久久久| 国产精品视频看| 自拍偷自拍亚洲精品播放| 日韩毛片在线免费观看| 亚洲精品国产无天堂网2021| 亚洲一区二区高清| 午夜激情一区二区| 午夜精品福利一区二区三区av| 日本麻豆一区二区三区视频| 美女www一区二区| 国产一区二区在线影院| 国产91精品一区二区麻豆亚洲| 国产aⅴ精品一区二区三区色成熟| 国产精品亚洲成人| 色综合久久久久综合| 欧美喷潮久久久xxxxx| 日韩视频123| 中文字幕av一区二区三区| 亚洲欧美日本在线| 偷拍亚洲欧洲综合| 狠狠色伊人亚洲综合成人| 国产91精品精华液一区二区三区| 99精品视频在线播放观看| 欧美色爱综合网| 精品久久99ma| 亚洲欧洲日韩av| 免费在线观看一区二区三区| 国产99久久久精品| 欧美色老头old∨ideo| 欧美电视剧免费全集观看| 国产精品久久久久国产精品日日| 一区二区三区.www| 精品一区二区综合| 99精品欧美一区二区三区综合在线| 欧美在线一二三| 久久人人爽爽爽人久久久| 中文字幕日韩av资源站| 日本一不卡视频| 99re6这里只有精品视频在线观看| 精品视频一区二区三区免费| 精品处破学生在线二十三| 亚洲少妇30p| 精久久久久久久久久久| 色婷婷av久久久久久久| 精品裸体舞一区二区三区| 亚洲欧洲av色图| 美女网站视频久久| 欧美在线视频你懂得| 国产欧美一区二区精品性色| 日韩国产欧美视频| 一本久道久久综合中文字幕 | 性做久久久久久久久| 久久爱www久久做| 91福利视频在线| 久久九九久久九九| 日本欧洲一区二区| 色婷婷综合在线| 国产色婷婷亚洲99精品小说| 日韩高清在线电影| 色婷婷综合久久| 欧美激情一区二区三区全黄| 青青草97国产精品免费观看无弹窗版| 成人激情校园春色| 精品国产a毛片| 日韩精品欧美成人高清一区二区| 91丨porny丨户外露出| 国产女主播在线一区二区| 久久成人羞羞网站| 91精品国产综合久久久久久| 亚洲精品第一国产综合野| 国产91精品一区二区麻豆网站| 日韩精品一区二区三区视频播放| 亚洲小说欧美激情另类| 97久久超碰国产精品| 国产精品久久久久久久裸模| 国产在线精品一区二区三区不卡 | 色老头久久综合| 国产精品成人一区二区三区夜夜夜 | 风间由美一区二区av101| 日韩精品专区在线影院观看| 视频一区在线视频| 欧美日韩一区二区三区视频| 一区二区三区四区不卡在线| 99国产精品国产精品毛片| 国产网站一区二区三区| 国产一区二区久久| 久久久久久99久久久精品网站| 美女看a上一区| 精品免费国产二区三区| 精品一区二区三区蜜桃| 精品国产一二三| 久久99热99| 精品电影一区二区三区| 国产一区二区视频在线| 久久综合久久综合久久综合| 国产黄色精品视频| 国产精品视频在线看| 国产成人精品www牛牛影视| 亚洲国产高清在线| 色悠悠久久综合| 亚洲综合区在线| 欧美日韩精品一区二区在线播放| 亚洲国产一区二区a毛片| 在线电影一区二区三区| 麻豆极品一区二区三区| 久久久久久久久久久久久夜| 成人不卡免费av| 亚洲自拍都市欧美小说| 在线不卡的av| 韩国精品在线观看| 国产精品久久久久影院老司| 色综合一区二区三区| 视频一区国产视频| 久久久久久久久久电影| 91免费版pro下载短视频| 亚洲国产精品一区二区www在线| 91精品国产美女浴室洗澡无遮挡| 久久精品国内一区二区三区| 欧美国产成人精品| 欧美日韩日本视频| 国产精品一线二线三线精华| 亚洲欧美激情在线| 欧美大片免费久久精品三p| 成人av影院在线|