Home
last modified time | relevance | path

Searched refs:hbmNew (Results 1 – 6 of 6) sorted by relevance

/reactos/base/applications/mspaint/
H A Ddib.cpp99 HBITMAP hbmNew = ::CreateBitmap(cx, cy, 1, 1, NULL); in CopyMonoImage() local
100 if (!hbmNew) in CopyMonoImage()
106 HGDIOBJ hbm2Old = ::SelectObject(hdc2, hbmNew); in CopyMonoImage()
112 return hbmNew; in CopyMonoImage()
371 HBITMAP hbmNew; in SkewDIB() local
373 hbmNew = CreateMonoBitmap(cx + dx, cy + dy, FALSE); in SkewDIB()
375 hbmNew = CreateColorDIB(cx + dx, cy + dy, RGB(255, 255, 255)); in SkewDIB()
376 if (!hbmNew) in SkewDIB()
380 HGDIOBJ hbm2Old = SelectObject(hDC2, hbmNew); in SkewDIB()
406 return hbmNew; in SkewDIB()
H A Dhistory.cpp200 HBITMAP hbmNew = CreateColorDIB(nWidth, nHeight, RGB(255, 255, 255)); in Crop() local
201 if (!hbmNew) in Crop()
210 putSubImage(hbmNew, rcPart, hbmOld); in Crop()
214 PushImageForUndo(hbmNew); in Crop()
H A Dselectionmodel.cpp102 HBITMAP hbmNew = CreateColorDIB(rc.Width(), rc.Height(), paletteModel.GetBgColor()); in GetSelectionContents() local
103 HGDIOBJ hbmOld = ::SelectObject(hdcMem, hbmNew); in GetSelectionContents()
109 return hbmNew; in GetSelectionContents()
285 static void AttachHBITMAP(HBITMAP *phbm, HBITMAP hbmNew) in AttachHBITMAP() argument
287 if (hbmNew == NULL) in AttachHBITMAP()
290 *phbm = hbmNew; in AttachHBITMAP()
H A Dmain.cpp1108 HBITMAP hbmNew = DoLoadImageFile(m_hWnd, szFileName, FALSE); in OnCommand() local
1109 if (hbmNew) in OnCommand()
1110 InsertSelectionFromHBITMAP(hbmNew, m_hWnd); in OnCommand()
/reactos/win32ss/gdi/ntgdi/
H A Dbitmaps.c716 HBITMAP hbmNew; in BITMAP_CopyBitmap() local
730 hbmNew = GreCreateBitmapEx(psurfSrc->SurfObj.sizlBitmap.cx, in BITMAP_CopyBitmap()
739 if (hbmNew) in BITMAP_CopyBitmap()
742 psurfNew = SURFACE_ShareLockSurface(hbmNew); in BITMAP_CopyBitmap()
760 GreDeleteObject(hbmNew); in BITMAP_CopyBitmap()
761 hbmNew = NULL; in BITMAP_CopyBitmap()
767 return hbmNew; in BITMAP_CopyBitmap()
/reactos/dll/win32/comctl32/
H A Dimagelist.c3041 HBITMAP hbmNew; in ImageList_SetIconSize() local
3056 hbmNew = ImageList_CreateImage(himl->hdcImage, himl, himl->cMaxImage); in ImageList_SetIconSize()
3057 SelectObject (himl->hdcImage, hbmNew); in ImageList_SetIconSize()
3059 himl->hbmImage = hbmNew; in ImageList_SetIconSize()
3064 hbmNew = CreateBitmap (sz.cx, sz.cy, 1, 1, NULL); in ImageList_SetIconSize()
3065 SelectObject (himl->hdcMask, hbmNew); in ImageList_SetIconSize()
3067 himl->hbmMask = hbmNew; in ImageList_SetIconSize()