Ignore:
Timestamp:
Dec 22, 2016, 8:49:19 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Updated BGRABitmap package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/bgrasvgshapes.pas

    r472 r494  
    243243implementation
    244244
    245 uses BGRATransform, Graphics;
     245uses BGRATransform, BGRAGraphics;
    246246
    247247function GetSVGFactory(ATagName: string): TSVGFactory;
     
    414414  if not isStrokeNone then
    415415  begin
    416     ACanvas2d.strokeStyle(strokeColor);
     416    ApplyStrokeStyle(ACanvas2D,AUnit);
    417417    ACanvas2d.stroke;
    418418  end;
     
    533533    if not isStrokeNone then
    534534    begin
    535       ACanvas2d.strokeStyle(strokeColor);
     535      ApplyStrokeStyle(ACanvas2D,AUnit);
    536536      ACanvas2d.stroke;
    537537    end;
     
    629629    if not isStrokeNone then
    630630    begin
    631       ACanvas2d.strokeStyle(strokeColor);
     631      ApplyStrokeStyle(ACanvas2D,AUnit);
    632632      ACanvas2d.stroke;
    633633    end;
     
    717717    if not isStrokeNone then
    718718    begin
    719       ACanvas2d.strokeStyle(strokeColor);
     719      ApplyStrokeStyle(ACanvas2D,AUnit);
    720720      ACanvas2d.stroke;
    721721    end;
     
    785785    if not isStrokeNone then
    786786    begin
    787       ACanvas2d.strokeStyle(strokeColor);
     787      ApplyStrokeStyle(ACanvas2D,AUnit);
    788788      ACanvas2d.stroke;
    789789    end;
     
    842842    if not isStrokeNone then
    843843    begin
    844       ACanvas2d.strokeStyle(strokeColor);
     844      ApplyStrokeStyle(ACanvas2D,AUnit);
    845845      ACanvas2d.stroke;
    846846    end;
     
    899899  if not isStrokeNone then
    900900  begin
    901     ACanvas2d.strokeStyle(strokeColor);
     901    ApplyStrokeStyle(ACanvas2D,AUnit);
    902902    ACanvas2d.beginPath;
    903903    ACanvas2d.moveTo(Units.ConvertWidth(x1,AUnit).value,Units.ConvertWidth(y1,AUnit).value);
Note: See TracChangeset for help on using the changeset viewer.