Ignore:
Timestamp:
Dec 16, 1999, 5:52:33 PM (26 years ago)
Author:
cbratschi
Message:

text output API changes, line speed improvements

File:
1 edited

Legend:

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

    r2083 r2092  
    1 /* $Id: gdi32.cpp,v 1.25 1999-12-16 00:10:50 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.26 1999-12-16 16:52:31 cbratschi Exp $ */
    22
    33/*
     
    1818#include "unicode.h"
    1919#include "dibsect.h"
    20 
    21 typedef struct _POLYTEXTA
    22 {
    23     int     x;
    24     int     y;
    25     UINT    n;
    26     LPCSTR lpstr;
    27     UINT    uiFlags;
    28     RECT    rcl;
    29     int     *pdx;
    30 } POLYTEXTA;
    31 
    32 
    33 typedef struct _POLYTEXTW
    34 {
    35     int     x;
    36     int     y;
    37     UINT    n;
    38     LPCWSTR lpstr;
    39     UINT    uiFlags;
    40     RECT    rcl;
    41     int     *pdx;
    42 } POLYTEXTW;
    43 
    4420
    4521static ULONG QueryPaletteSize(BITMAPINFOHEADER *pBHdr)
     
    1000976//******************************************************************************
    1001977//******************************************************************************
    1002 BOOL WIN32API MoveToEx( HDC arg1, int arg2, int arg3, PPOINT  arg4)
    1003 {
    1004     dprintf(("GDI32: MoveToEx\n"));
    1005     return O32_MoveToEx(arg1, arg2, arg3, arg4);
    1006 }
    1007 //******************************************************************************
    1008 //******************************************************************************
    1009978BOOL WIN32API PatBlt( HDC arg1, int arg2, int arg3, int arg4, int arg5, DWORD  arg6)
    1010979{
     
    31733142
    31743143/*****************************************************************************
    3175  * Name      : BOOL PolyTextOutA
    3176  * Purpose   : The PolyTextOutA function draws several strings using the font
    3177  *             and text colors currently selected in the specified device context.
    3178  * Parameters: HDC  hdc   handle of device context
    3179  *             CONST POLYTEXT *pptxt address of array of structures that identify strings
    3180  *             int            cStrings number of structures in array
    3181  * Variables :
    3182  * Result    : TRUE / FALSE
    3183  * Remark    :
    3184  * Status    : UNTESTED STUB
    3185  *
    3186  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    3187  *****************************************************************************/
    3188 
    3189 BOOL WIN32API PolyTextOutA(HDC       hdc,
    3190                               POLYTEXTA *pptxt,
    3191                               int       cStrings)
    3192 {
    3193   dprintf(("GDI32: PolyTextOutA(%08xh, %08xh, %08xh) not implemented.\n",
    3194            hdc,
    3195            pptxt,
    3196            cStrings));
    3197 
    3198   return (FALSE);
    3199 }
    3200 
    3201 
    3202 #if 0
    3203 
    3204 The POLYTEXT structure describes how the PolyTextOut function should draw a string of text.
    3205 
    3206 Members
    3207 
    3208 x
    3209 
    3210 Specifies the horizontal reference point for the string. The string is aligned to this point using the current text-alignment mode.
    3211 
    3212 y
    3213 
    3214 Specifies the vertical reference point for the string. The string is aligned to this point using the current text-alignment mode.
    3215 
    3216 n
    3217 
    3218 Specifies the number of characters in the string.
    3219 
    3220 uiFlags
    3221 
    3222 Specifies whether the string is to be opaque or clipped and whether the string is accompanied by an array of character-width values. This member can be one or more of the following values:
    3223 
    3224 Value   Meaning
    3225 ETO_OPAQUE      The rectangles given for each string is to be opaqued with the current background color.
    3226 ETO_CLIPPED     Each string is to be clipped to its given rectangle.
    3227 lpstr
    3228 
    3229 Points to a string of text to be drawn by the PolyTextOut function.
    3230 
    3231 rcl
    3232 
    3233 Specifies a rectangle structure that contains the dimensions of the opaquing or clipping rectangle. This member is ignored if neither of the ETO_OPAQUE nor the ETO_CLIPPED value is specified for the uiFlags member.
    3234 
    3235 pdx
    3236 
    3237 Specifies in an array the width value for each character in the string.
    3238 
    3239 See Also
    3240 
    3241 PolyTextOut
    3242 #endif
    3243 
    3244 
    3245 /*****************************************************************************
    3246  * Name      : BOOL PolyTextOutW
    3247  * Purpose   : The PolyTextOutW function draws several strings using the font
    3248  *             and text colors currently selected in the specified device context.
    3249  * Parameters: HDC  hdc   handle of device context
    3250  *             CONST POLYTEXT *pptxt address of array of structures that identify strings
    3251  *             int            cStrings number of structures in array
    3252  * Variables :
    3253  * Result    : TRUE / FALSE
    3254  * Remark    :
    3255  * Status    : UNTESTED STUB
    3256  *
    3257  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    3258  *****************************************************************************/
    3259 
    3260 BOOL WIN32API PolyTextOutW(HDC       hdc,
    3261                               POLYTEXTW *pptxt,
    3262                               int       cStrings)
    3263 {
    3264   dprintf(("GDI32: PolyTextOutW(%08xh, %08xh, %08xh) not implemented.\n",
    3265            hdc,
    3266            pptxt,
    3267            cStrings));
    3268 
    3269   return (FALSE);
    3270 }
    3271 
    3272 
    3273 /*****************************************************************************
    32743144 * Name      : BOOL SetDeviceGammaRamp
    32753145 * Purpose   : The SetDeviceGammaRamp function sets the gamma ramp on direct
Note: See TracChangeset for help on using the changeset viewer.