Changeset 6684 for trunk/src


Ignore:
Timestamp:
Sep 9, 2001, 2:24:13 PM (24 years ago)
Author:
sandervl
Message:

minor updates

Location:
trunk/src/gdi32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/icm.cpp

    r5813 r6684  
    1 /* $Id: icm.cpp,v 1.1 2001-05-28 09:17:54 phaller Exp $ */
     1/* $Id: icm.cpp,v 1.2 2001-09-09 12:24:13 sandervl Exp $ */
    22
    33/*
     
    3232//******************************************************************************
    3333//******************************************************************************
    34 UINT WIN32API DeleteColorSpace(                                              /*KSO Thu 21.05.1998*/
    35         HCOLORSPACE hColorSpace
    36         )
     34BOOL WIN32API DeleteColorSpace(HCOLORSPACE hColorSpace)
    3735{
    3836        dprintf(("GDI32: DeleteColorSpace - stub\n"));
     
    4139//******************************************************************************
    4240//******************************************************************************
    43 BOOL WIN32API SetColorSpace(                                                 /*KSO Thu 21.05.1998*/
    44         HDC     hdc,
    45         HCOLORSPACE hColorSpace
    46         )
     41BOOL WIN32API SetColorSpace(HDC hdc, HCOLORSPACE hColorSpace)
    4742{
    4843        dprintf(("GDI32: SetColorSpace - stub\n"));
     
    5146//******************************************************************************
    5247//******************************************************************************
    53  HCOLORSPACE WIN32API CreateColorSpaceA(                             /*KSO Thu 21.05.1998*/
    54         LPLOGCOLORSPACEA lpLogColorSpace
    55         )
     48HCOLORSPACE WIN32API CreateColorSpaceA(LPLOGCOLORSPACEA lpLogColorSpace)
    5649{
    5750        dprintf(("GDI32: CreateColorSpaceA - stub\n"));
     
    6053//******************************************************************************
    6154//******************************************************************************
    62 HCOLORSPACE WIN32API CreateColorSpaceW(                              /*KSO Thu 21.05.1998*/
    63         LPLOGCOLORSPACEW lpwLogColorSpace
    64         )
     55HCOLORSPACE WIN32API CreateColorSpaceW(LPLOGCOLORSPACEW lpwLogColorSpace)
    6556{
    6657        dprintf(("GDI32: CreateColorSpaceW - stub\n"));
     
    6960//******************************************************************************
    7061//******************************************************************************
    71 HANDLE WIN32API GetColorSpace(                                               /*KSO Thu 21.05.1998*/
    72         HDC hdc
    73         )
     62HANDLE WIN32API GetColorSpace(HDC hdc)
    7463{
    7564        dprintf(("GDI32: GetColorSpace - stub\n"));
     
    7867//******************************************************************************
    7968//******************************************************************************
    80 int WIN32API SetICMMode(                                                             /*KSO Thu 21.05.1998*/
    81         HDC hdc,
    82         int mode
    83         )
     69int WIN32API SetICMMode(HDC hdc, int mode)
    8470{
    8571        dprintf(("GDI32: SetICMMode - stub\n"));
  • trunk/src/gdi32/line.cpp

    r5044 r6684  
    1 /* $Id: line.cpp,v 1.9 2001-02-01 18:01:52 sandervl Exp $ */
     1/* $Id: line.cpp,v 1.10 2001-09-09 12:24:13 sandervl Exp $ */
    22/*
    33 * Line API's
     
    8181    POINTLOS2 newPoint = {X,Y};
    8282
     83    if (lpPoint)
     84    {
     85      POINTLOS2 lastPoint;
     86
     87      OSLibGpiQueryCurrentPosition(pHps,&lastPoint);
     88      lpPoint->x = lastPoint.x;
     89      lpPoint->y = lastPoint.y;
     90    }
     91
    8392#ifndef INVERT
    8493    if(pHps->yInvert > 0) {
     
    8998    }
    9099#endif
    91 
    92     if (lpPoint)
    93     {
    94       POINTLOS2 lastPoint;
    95 
    96       OSLibGpiQueryCurrentPosition(pHps,&lastPoint);
    97       lpPoint->x = lastPoint.x;
    98       lpPoint->y = lastPoint.y;
    99     }
    100100
    101101    if (OSLibGpiMove(pHps,&newPoint))
  • trunk/src/gdi32/text.cpp

    r6384 r6684  
    1 /* $Id: text.cpp,v 1.26 2001-07-21 15:57:17 sandervl Exp $ */
     1/* $Id: text.cpp,v 1.27 2001-09-09 12:24:13 sandervl Exp $ */
    22
    33/*
     
    2727#define ELLIPSISLEN 3
    2828
    29 typedef struct _POLYTEXTA
    30 {
    31     int     x;
    32     int     y;
    33     UINT    n;
    34     LPCSTR lpstr;
    35     UINT    uiFlags;
    36     RECT    rcl;
    37     int     *pdx;
    38 } POLYTEXTA;
    39 
    40 typedef struct _POLYTEXTW
    41 {
    42     int     x;
    43     int     y;
    44     UINT    n;
    45     LPCWSTR lpstr;
    46     UINT    uiFlags;
    47     RECT    rcl;
    48     int     *pdx;
    49 } POLYTEXTW;
    50 
    5129//******************************************************************************
    5230//******************************************************************************
     
    172150  flCmd = DTOS_INVERT | DTOS_WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT;
    173151#else
    174   flCmd = DTOS_WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT;
     152  flCmd = DTOS_INVERT | DTOS_WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT;
    175153#endif
    176154
Note: See TracChangeset for help on using the changeset viewer.