mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Implementation of SetTextJustication EMF driver callback.
This commit is contained in:
parent
43e8471a55
commit
3da1e24643
@ -62,6 +62,16 @@ UINT EMFDRV_SetTextAlign( PHYSDEV dev, UINT align )
|
||||
return EMFDRV_WriteRecord( dev, &emr.emr );
|
||||
}
|
||||
|
||||
BOOL EMFDRV_SetTextJustification(PHYSDEV dev, INT nBreakExtra, INT nBreakCount)
|
||||
{
|
||||
EMRSETTEXTJUSTIFICATION emr;
|
||||
emr.emr.iType = EMR_SETTEXTJUSTIFICATION;
|
||||
emr.emr.nSize = sizeof(emr);
|
||||
emr.nBreakExtra = nBreakExtra;
|
||||
emr.nBreakCount = nBreakCount;
|
||||
return EMFDRV_WriteRecord(dev, &emr.emr);
|
||||
}
|
||||
|
||||
INT EMFDRV_SetBkMode( PHYSDEV dev, INT mode )
|
||||
{
|
||||
EMRSETBKMODE emr;
|
||||
|
@ -135,6 +135,8 @@ extern INT EMFDRV_SetROP2( PHYSDEV dev, INT rop );
|
||||
extern INT EMFDRV_SetStretchBltMode( PHYSDEV dev, INT mode );
|
||||
extern UINT EMFDRV_SetTextAlign( PHYSDEV dev, UINT align );
|
||||
extern COLORREF EMFDRV_SetTextColor( PHYSDEV dev, COLORREF color );
|
||||
extern BOOL EMFDRV_SetTextJustification( PHYSDEV dev, INT nBreakExtra,
|
||||
INT nBreakCount );
|
||||
extern INT EMFDRV_SetViewportExt( PHYSDEV dev, INT x, INT y );
|
||||
extern INT EMFDRV_SetViewportOrg( PHYSDEV dev, INT x, INT y );
|
||||
extern INT EMFDRV_SetWindowExt( PHYSDEV dev, INT x, INT y );
|
||||
|
@ -133,7 +133,7 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
|
||||
EMFDRV_SetTextAlign, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
EMFDRV_SetTextColor, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
EMFDRV_SetTextJustification, /* pSetTextJustification */
|
||||
EMFDRV_SetViewportExt, /* pSetViewportExt */
|
||||
EMFDRV_SetViewportOrg, /* pSetViewportOrg */
|
||||
EMFDRV_SetWindowExt, /* pSetWindowExt */
|
||||
|
Loading…
Reference in New Issue
Block a user