Esempio n. 1
0
 void CanvasGdiplus::ScaleInt(int x, int y)
 {
     Gdiplus::Graphics* current = GetCurrentGraphics();
     current->ScaleTransform(static_cast<Gdiplus::REAL>(x),
         static_cast<Gdiplus::REAL>(y));
 }
void Graphics::ScaleTransform(float dx, float dy, MatrixOrder order) {
    Gdiplus::Graphics* g = reinterpret_cast<Gdiplus::Graphics*>(_private);
    g->ScaleTransform(dx, dy, order == MatrixOrderPrepend ? Gdiplus::MatrixOrderPrepend : Gdiplus::MatrixOrderAppend);
}